Closed romankras closed 9 years ago
Why not use a dateValidator
that always returns true
instead?
If i understand correctly, in this case every input would be valid. I wanted to save validation against date and time foramts provided in the config dictionary.
dateValidator: function (date) {
return valid.indexOf(date) !== -1
}
Sorry, but this snippet throwing the following error:
Uncaught ReferenceError: valid is not defined
Should I change something else?
Yes, your "config dictionary"
Added option that allows to enter manually date and time which are not present in the dropdown