Skip to content
NativeScript Unified

Components

Select

hlm-select holds an hlm-select-trigger and an hlm-select-content. The content is declared with *hlmSelectPortal, so the list is only created when the select opens. value and valueChange come from the brain select.

Picked: nothing

hlm-select-trigger renders a role="combobox" button, so give it a name: buttonId sets its id, and a <label for> with the same id labels it. It also takes size (default or sm). The list can be grouped with hlm-select-group, hlm-select-label and hlm-select-separator.

For a browser-native <select> styled with helm, see hlm-native-select on More components.