Extensions

Press shift + S to search API reference.

React component

SelectSynced

View source

Props

interface SelectSyncedProps extends SharedSelectProps
aria-describedbyundefined | string

A space separated list of description element IDs.

aria-labelundefined | string

The aria-label attribute. Use this if the select is not referenced by a label element.

aria-labelledbyundefined | string

A space separated list of label element IDs.

autoFocusundefined | false | true

The autoFocus attribute.

classNameundefined | string

Additional class names to apply to the select.

disabledundefined | false | true

If set to true, the user cannot interact with the select.

globalConfigKeyGlobalConfigKey

A string key or array key path in GlobalConfig. The selected option will always reflect the value stored in GlobalConfig for this key. Selecting a new option will update GlobalConfig.

idundefined | string

The id attribute.

nameundefined | string

The name attribute.

onChangeundefined | function (value: SelectOptionValue) => unknown

A function to be called when the selected option changes.

optionsArray<SelectOption>

The list of select options.

sizeControlSizeProp

The size of the select.

styleReact.CSSProperties

Additional styles to apply to the select.

tabIndexundefined | number

The tabindex attribute.