Caplin Trader 5.1.0

Class: 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, and can be used within templates as follows:

  <span data-bind="controlNode:dateFieldProperty, control:''"></span>

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

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