Home > @uniformdev/design-system > InputComboBoxOption

InputComboBoxOption type

Default type of option for the combo box. Note: you can use any type of object you want. If it has a label and value property, it will auto wire those. If you want to use different properties, you can use the getOptionLabel and getOptionValue props.

Signature:

type InputComboBoxOption<TValue = string> = {
    label: string;
    value: TValue;
    isDisabled?: boolean;
    indented?: boolean;
};