Opened 12 years ago
Closed 9 years ago
#7589 closed bug (patcheswelcome)
Datpicker constrainInput does not prevent pasting wrong format
Reported by: | doits | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
even though constrainInput is set to true, I can paste wrong formatted input into a Datepicker-input.
- Try to input some chars into the input: not working (correct!)
- Copy any wrong formatted text and paste (by shortcut or right click context menu) it into the input: working! (should not, I think!)
If pasting cannot be prevented, the input should at least be cleared when leaving the input element.
Tested with Firefox 6b1, Chrome 12, Safari 5.1 on OS X 10.7.
Regards, Markus
Change History (3)
comment:1 Changed 11 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:2 Changed 11 years ago by
Status: | new → open |
---|
comment:3 Changed 9 years ago by
Resolution: | → patcheswelcome |
---|---|
Status: | open → closed |
The constrainInput
option will be removed during the rewrite. We can review a PR against the current implementation if someone wants to work on that.
Note: See
TracTickets for help on using
tickets.
confirmed on latest: http://jsfiddle.net/UmbpL/