Timepicker

A reusable validation component for time selection with integrated error handling and customizable options

Examples

Basic usage

Please select a time

Properties

Name Type Required Description
@validationField string Yes The field name in the changeset for validation.
@changeset ImmerChangeset Yes The changeset object for form validation.
@label string No The label for the input field.
@onChange Function No The action to be called when the time changes.
@onClose Function No The action to be called when the timepicker closes.
@disabled boolean No Whether the input field is disabled.
@mandatory boolean No To indicate if input is mandatory.
@enableSecond boolean No Whether to enable seconds in the timepicker.
@stepping number No The step interval for minutes and seconds.
@placeholder string No The placeholder text for the input field.
@clearButton boolean No Whether to show a button to clear the input field.
@locale string No The locale to be used for time formatting.