Opened 11 years ago
Closed 10 years ago
#7654 closed bug (wontfix)
Datepicker doesn't fire change event on the input element when onSelect is set.
Reported by: | kit | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
JSFiddle: http://jsfiddle.net/kitsunde/Eas4e/3/
jQuery UI 1.8.14 with onSelect bound:
Action: Change the date in #input1 using datepicker.
Result: Change event does not fire when control loses focus.
Expected Result: Change event fire when control loses focus.
Native experience:
Action: Change the date in the input box using the native browser controls.
Result: Change event fire when control loses focus.
Expected Result: Change event fire when control loses focus.
jQuery UI 1.8.14 with onSelect unbound:
Action: Change the date in #input2 using datepicker.
Result: Change event fire when control loses focus.
Expected Result: Change event fire when control loses focus.
Sloppy Workaround:
onClose: function(){ $(this).trigger("change") };
Tested with:
Chrome stable
jQuery UI 1.8.14 and 1.8.7
jQuery 1.6.2
Change History (4)
comment:1 Changed 10 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:2 Changed 10 years ago by
Status: | new → open |
---|
comment:3 Changed 10 years ago by
scott_gonzalez - Should this be closed per the same reasoning as #8878?
confirmed on latest: http://jsfiddle.net/f5rXJ/