O'Reilly logo

Building UIs with Wijmo by Yuguang Zhang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

InputDate

The InputDate widget provides a convenient visual mechanism for helping users to select dates. This widget supports a wide range of date formats, making it easier for the user to select a date and provide the information to you in a consistent way. The InputDate widget only works on an input element. To display a calendar without the input element, use the calendar widget, which looks as shown in the following screenshot:

InputDate

To display an InputDate widget with a button to trigger the calendar, wrap the input element in a fixed width block, initialize the widget with the showTrigger option, and remove the wijmo-wijinput-trigger class:

<!DOCTYPE ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required