Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#8939 closed bug (notabug)

2 textbox with same id, but in different container id, datepicker will update the wrong textbox

Reported by: wfsiew Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.datepicker Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

If there are 2 textboxes, but they are placed in 2 different container id, selecting the date in the second datepicker will always update the first textbox, but the second textbox won't be updated.

Please see the demo at http://jsbin.com/iwejev/2/edit

Change History (1)

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

Resolution: notabug
Status: newclosed

It's invalid to have two elements with the same id.

Note: See TracTickets for help on using tickets.