vue-formular
Advanced tools
Comparing version 1.2.30 to 1.2.40
@@ -45,2 +45,8 @@ var merge = require('merge'); | ||
default:'Clear' | ||
}, | ||
nowButton:Boolean, | ||
nowText:{ | ||
type:String, | ||
required:false, | ||
default:'Now' | ||
} | ||
@@ -156,2 +162,6 @@ }, | ||
}, | ||
setNow(e) { | ||
e.stopPropagation(); | ||
this.setValue(moment()); | ||
}, | ||
setValue: function(val) { | ||
@@ -161,9 +171,9 @@ if (typeof val!='object') { | ||
} | ||
this.value = val; | ||
if (!this.noInput) { | ||
this.formattedDate = val?val.format(this.format):''; | ||
} | ||
this.datepicker.data('daterangepicker').setStartDate(val.format(this.format)); | ||
@@ -170,0 +180,0 @@ this.datepicker.data('daterangepicker').setEndDate(val.format(this.format)); |
{ | ||
"name": "vue-formular", | ||
"description": "a comprehensive vue.js form component", | ||
"version": "1.2.30", | ||
"version": "1.2.40", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "vue", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65147
1828