Some issues/feature improvements in the Datepicker #61

Open
storeman opened this Issue Dec 30, 2009 · 0 comments

Comments

Projects
None yet
1 participant
@storeman

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment