yarcl
    Preparing search index...

    Interface SelectOption<V>

    An option of a Select or Combobox.

    interface SelectOption<V extends string = string> {
        disabled?: boolean;
        label: string;
        value: V;
    }

    Type Parameters

    • V extends string = string
    Index
    disabled?: boolean

    Prevents choosing this option.

    label: string

    Text shown to the user. Also used for type-to-select and filtering.

    value: V

    Value reported by onValueChange and submitted with forms.