Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7527 closed bug (fixed)

Typo in demo of datepicker: div type=text

Reported by: alexstack Owned by:
Priority: minor Milestone: 1.8.15
Component: [meta] ui.docs Version: 1.8.14
Keywords: Cc:
Blocked by: Blocking:

Description

The demo code in offline document (development-bundle\docs\datepicker.html#demo) mentions: <div type="text" id="datepicker"></div> as the target but it should be: <input type="text" id="datepicker"></input> I had a confusion if div has a type attribute and asked the question in Stackoverflow as well: http://stackoverflow.com/questions/6561676/div-type-text-why-specify-type

Change History (2)

comment:1 Changed 12 years ago by rdworth

Milestone: 1.91.8.15
Resolution: fixed
Status: newclosed

Fixed. The fix was actually to just remove the type="text" as the demo with div shows it as an inline datepicker. There are use cases for having a datepicker always open. This one is so that it's visible on this demo without the user having to click an input.

comment:2 Changed 12 years ago by rdworth

Component: ui.datepicker[meta] ui.docs
Note: See TracTickets for help on using tickets.