Caplin Trader 5.1.0

Class: module:br-presenter/control/datefield/JQueryDatePickerControl

module:br-presenter/control/datefield/JQueryDatePickerControl()

A control adaptor that allows the JQuery Calendar control to be used to render instances of module:br-presenter/node/DateField within presenter. This class is constructed by presenter automatically on your behalf.

The jQuery date picker control is aliased by br.date-picker, and can be used within templates as follows:

  <span data-bind="controlNode:dateFieldProperty, control:'br.date-picker'"></span>

You can also use a hidden input element and avoid having an extra container element:

  <input type="hidden" data-bind="controlNode:dateFieldProperty, control:'br.date-picker'"/>