PickMeUp
PickMeUp copied to clipboard
How to enter date manually?
Hi. I can't enter a date manually using keyboard, because the cursor jumps to the end of the date in text field.
This is something that can be improved, it tries to parse date after each character and overrides input's contents.
For now you can have input field and PickMeUp instances separately and manually show/hide datepicker as well as handle change
event and calling set_date()
method.
I'll mark this as an enhancement
This bug appears when option.default_date is true. When default_date is false, I can edit date easily (no bug). You can check it out in right in demo page: http://nazar-pc.github.io/PickMeUp/ just try to edit the date.
It is not because of default_date
, I've already described why it happens (it will happen with default_date
once you select some date).
I have selected some date with datepicker and then tried to change date with keyboard. But the bug appears when default_date is true. The handler parse date well when default_date is false. But when default_date is true the parsing is not working well (the cursor jumps to the end of date).