Skip to main content

Search and Top Navigation

#15032 closed bug (notabug)

Opened August 17, 2016 07:53AM UTC

Closed August 17, 2016 02:44PM UTC

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

Attachments (0)
Change History (1)

Changed August 17, 2016 02:44PM UTC by scottgonzalez comment:1

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.