Ticket #7527 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by rdworth

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 1.9 to 1.8.15

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 3 years ago by rdworth

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