| labels | Partial<ComboboxLabels> | Texts of the component. Pass only the ones you want to change, for example to translate it. |
| required | boolean | Marks the field as required: an asterisk is shown next to the label. |
| color | string | Accent color of this component: any CSS color. Without it the component uses `--blossom-accent`, which is pink by default. |
| label | string | |
| hint | string | Helper text shown under the field. |
| error | string | Error message. Turns the field red. |
| success | string | Success message. Turns the field green. |
| options (required) | ComboboxOption[] | |
| value | string | Controlled value (the `value` of an option, or the typed text with `allowCustom`). Use together with `onChange`. |
| defaultValue | string | Initial value when the field is not controlled. |
| onChange | (value: string) => void | Called with the `value` of the chosen option, or an empty string when the field is cleared. |
| onInputChange | (text: string) => void | Called every time the user types, useful to search on a server. |
| placeholder | string | |
| allowCustom | boolean | Let the user keep a text that is not in the list. It is offered as the last option. |
| clearable | boolean | Show a button that clears the value. |
| filter | ((option: ComboboxOption, text: string) => boolean) | false | Own filter. By default the options that contain the typed text are shown, ignoring case and accents. Pass `false` to show all of them, for example when you filter on a server. |
| name | string | Adds a hidden input with this name so the value is sent with native forms. |
| disabled | boolean | |