File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 29
29
< script type ="text/javascript " src ="https://rawgit.com/nosir/cleave.js/master/dist/cleave.min.js "> </ script >
30
30
< script type ="text/javascript " src ="https://nosir.github.io/cleave.js/lib/cleave-phone.i18n.js "> </ script >
31
31
< script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/9.0.0/nouislider.js "> </ script >
32
- < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.4.0 /pikaday.min.js "> </ script >
32
+ < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/pikaday/1.5.1 /pikaday.min.js "> </ script >
33
33
< script type ="text/javascript " src ="https://maps.googleapis.com/maps/api/js?key=AIzaSyCEz-sX9bRJorDS-D_JL0JkZVZe2gzoUMw&libraries=places "> </ script >
34
34
35
35
</ head >
Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ module.exports = {
536
536
required : true ,
537
537
placeholder : "User's birth of date" ,
538
538
min : moment ( "1900-01-01" ) . toDate ( ) ,
539
- max : moment ( "2016 -01-01" ) . toDate ( ) ,
539
+ max : moment ( "2018 -01-01" ) . toDate ( ) ,
540
540
validator : [
541
541
validators . date
542
542
] ,
Original file line number Diff line number Diff line change 52
52
if (window .Pikaday ){
53
53
this .picker = new window.Pikaday (defaults (this .schema .pikadayOptions || {}, {
54
54
field: this .$el , // bind the datepicker to a form field
55
+ onSelect : () => {
56
+ this .value = this .picker .toString ();
57
+ }
55
58
// trigger: , // use a different element to trigger opening the datepicker, see [trigger example][] (default to `field`)
56
59
}));
57
60
} else {
You can’t perform that action at this time.
0 commit comments