Provides a form Date field component for selecting times. A drop down selection of time values is displayed, optionally specifying am/pm.
JavaScript must be enabled in the client browser to use the drop down calendar. If JavaScript is not enabled users can still enter a date value in the HTML text field.
This component needs a Body component and a Shell or ScriptIncludes component to work.
See also: DropdownDatePicker , DatePicker
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | Object | yes | The data value. Take care to ensure date time values are 'normalized' before performing any millisec based comparison or equality operations. | |
disabled | boolean | no | false | Controls whether the date field and calendar button is active or not. |
displayName | String | no | The user-presentable name for the component, which will be used by a FieldLabel connected to the component. | |
validators | Array or collection of Validator | no |
The validators to apply to the component. Something along the lines of:
validators:required .See also:Validation |
|
translator | Translator | no | translator:date,pattern=hh:mm a |
The translator to use when displaying and parsing the time.
See also:Validation |
iconAlt | String | no | literal:Select a Time | The textual name given to the date picking icon before the image is loaded. |
Body: removed
Informal parameters: allowed
Reserved parameters: name, autocomplete