Opened 4 years ago

Closed 4 years ago

#15032 closed bug (notabug)

bug: Datepicker alternate field, un-populate

Reported by: Ruth-Cantoni Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Description

Description

Datepicker, use of an alternate field. When a date is chosen, the alternate date field is populated. When the date field becomes empty (by clicking into the text input, selecting its whole text value and deleting it) then the alternate date field retains its previous value. I would expect it to become empty too. The browsers I've used to test are Safari 9.1.1 and Chrome 52.0.2743.116 (64-bit) on mac os x 10.10.5

Link to test case

https://jqueryui.com/datepicker/#alt-field

Change History (1)

comment:1 Changed 4 years ago by Scott González

Component: ui.coreui.datepicker
Resolution: notabug
Status: newclosed

This has always been the case. The alternate field is only updated when a valid date is selected. Clearing the value is not equivalent to selecting a date.

Also note that this option will be removed in the next version.

Note: See TracTickets for help on using tickets.