Skip to content

Some issues/feature improvements in the Datepicker #61

Description

@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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions