clientcide
clientcide copied to clipboard
Some issues/feature improvements in the Datepicker
I came across some issues in the datepicker:
- Fields should not be filled automatically with date of today (or option to set it off)
- Userinput should be checked without using issue above (1)
- Field can be checked/formatted on load/init
I created a fork: http://github.com/storeman/clientcide/blob/7d91b663ef9c2cf79d1d72b1e665c19005555296/Source/Forms/DatePicker.js
Removed the option 'updateOnBlur' and added those options: fillOnBlur [defaults to true] checkOnBlur [defaults to true] checkOnInit [defaults to false]
With those defaults the current usage isn't broken