Ticket #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: | ||
| Blocking: | Blocked by: |
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
Note: See
TracTickets for help on using
tickets.


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.