Ui.Picker
A base component for implementing custom pickers (date, select).
States
Whether or not the dropdown is shown.
Properties
Whether or not the picker is disabled.
The icon to display at the right side of the label.
Whether or not the picker is invalid.
The label to display if there is a value.
Whether or not the dropdown should match the width of the input.
The offset of the dropdown from the input.
A handler for the enter event, if it returns true the picker is closed.
A handler for the keydown event if the picker is open or focused.
The content of the dropdown.
The placeholder to show when there is no value selected.
The position of the dropdown.
The size of the picker.
Functions
Handles the up events.
Handler for the close event.
Handler for the focus event (shows the dropdown).
Handles the keydown event:
- on ESCAPE key it hides the dropdown
- on ENTER key it hides the dropdown if the handler returns true
- on SPACE key it shows the dropdown
Handler for the tab in event.
Hides the dropdown.
Renders the component.
Shows the dropdown.