Lines 102-116
Link Here
|
102 |
instance.set('allowInput',false); |
102 |
instance.set('allowInput',false); |
103 |
} |
103 |
} |
104 |
}); |
104 |
}); |
105 |
}, |
|
|
106 |
onOpen: function( selectedDates, dateText, instance ) { |
107 |
var thisInput = instance.input; |
108 |
let options = maskitoDateOptionsGenerator({ |
109 |
mode: altinput_dateformat, |
110 |
separator: delimiter, |
111 |
}); |
112 |
|
105 |
|
113 |
new Maskito( instance.altInput, options ); |
106 |
/* When flatpickr instance is ready, add maskito input mask */ |
|
|
107 |
var thisInput = instance.input; |
108 |
let options = maskitoDateOptionsGenerator({ |
109 |
mode: altinput_dateformat, |
110 |
separator: delimiter, |
111 |
overwriteMode: 'replace', |
112 |
}); |
113 |
|
114 |
new Maskito( instance.altInput, options ); |
114 |
}, |
115 |
}, |
115 |
onClose: function( selectedDates, dateText, instance) { |
116 |
onClose: function( selectedDates, dateText, instance) { |
116 |
validate_date( dateText, instance ); |
117 |
validate_date( dateText, instance ); |
117 |
- |
|
|