Search and Top Navigation
#7527 closed bug (fixed)
Opened July 03, 2011 08:07AM UTC
Closed July 03, 2011 09:15AM UTC
Last modified July 03, 2011 09:15AM UTC
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
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.