clientcide icon indicating copy to clipboard operation
clientcide copied to clipboard

Some issues/feature improvements in the Datepicker

Open storeman opened this issue 15 years ago • 0 comments

I came across some issues in the datepicker:

  1. Fields should not be filled automatically with date of today (or option to set it off)
  2. Userinput should be checked without using issue above (1)
  3. 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

storeman avatar Dec 30 '09 15:12 storeman