Date
vf-date
- Datepicker (single or range).
uses daterangepicker.
the value
should be passed as a string, matching the 'YYYY-MM-DD HH:mm:ss' format, or as a moment object. The date will be sent to the server using moment
format method (ISO 8601)
range
boolean
optional
pick a range of dates. thevalue
prop should be passed as an object withstart
andend
properties. A similar object is sent to the serverformat
string
optional
Date presentation (usingmoment
). Default:DD/MM/YYYY
.options
object
optional
Plugin options. Merged with the form-leveldateOptions
.clear-label
string
optional
Label for clearing current date. Default:Clear
no-input
boolean
optional
Use aspan
element rather than aninput
timepicker
boolean
optional
Use a time picker