s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Forms and controls

CountrySelect

No summary has been written for CountrySelect. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { CountrySelect } from '@happyvertical/smrt-ui/forms';
Import path
@happyvertical/smrt-ui/forms
Props
10
Props described
10 of 10
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

Also accepts Omit<HTMLSelectAttributes, 'children' | 'multiple' | 'value' | 'class'>. The table lists the component-specific contract.

NameTypeRequiredDescription
valuestringNoExact bound and submitted value.
classstringNoAdditional CSS classes.
density'comfortable' | 'touch'NoControl target density.
interactionControlInteractionOptions | falseNoOptional shared agent interaction registration.
optionsreadonly CodeSelectOption[]NoCustom choices replace defaults; an empty list is an intentional override.
labelstringNoVisible label rendered above the control with the shared field label; becomes its accessible name.
requiredbooleanNoShows the required marker on `label`.
localestringNoLocale used for built-in currency/country display names; invalid locales use English.
placeholderstringNoEmpty choice label. Defaults to an em dash and never auto-selects a code.
readOnlybooleanNoDisable editing while submitting the unchanged value through a hidden input.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation