Bootstrap DatePicker

Date picker control which is tightly integrated with Bootstrap for styling.

  • Requires: Bootstrap DatePicker

Date pickers in Editor, Bootstrap style. This plug-in provides integration between Bootstrap DatePicker control and Editor, replacing the build in date field type in Editor (which is jQuery UI based).

Plug-in configuration and API

Options

This field type supports the following options, in addition to the default field-options configuration:

  • object opts: DatePicker initialisation options object. Please refer to the Bootstrap DatePicker documentation for the full range of options available.
  • object attrs: Attributes that are applied to the -tag input element used for the date picker.

Methods

This field type supports the following methods, in addition to the default field() methods:

  • node: Get the input element as a jQuery object that is used for the DatePicker so you can run custom actions on it (listening for events etc)
  • remove: Run the DatePickers' remove() method. See DatePicker documentation for usage.
  • show: Run the DatePickers' show() method. See DatePicker documentation for usage.
  • hide: Run the DatePickers' hide() method. See DatePicker documentation for usage.
  • update: Run the DatePickers' update() method. See DatePicker documentation for usage.
  • setDate: Run the DatePickers' setDate() method. See DatePicker documentation for usage.
  • setUTCDate: Run the DatePickers' setUTCDate() method. See DatePicker documentation for usage.
  • getDate: Run the DatePickers' getDate() method. See DatePicker documentation for usage.
  • getUTCDate: Run the DatePickers' getUTCDate() method. See DatePicker documentation for usage.
  • setStartDate: Run the DatePickers' setStartDate() method. See DatePicker documentation for usage.
  • setEndDate: Run the DatePickers' setEndDate() method. See DatePicker documentation for usage.
  • setDaysOfWeekDisabled: Run the DatePickers' setDaysOfWeekDisabled() method. See DatePicker documentation for usage.

License required

The Editor plug-ins are available to download for licensed users of Editor only. If you already have an Editor license, please . Otherwise, an Editor license can be purchased to be able to access the plug-ins.