options | TOption[] | [] | The suggestions. Your own objects. |
optionLabel | string | ((o: TOption) => string) | 'name' | Property path (dot-paths included) or function producing an option’s label. |
optionValue | string | ((o: TOption) => unknown) | null | 'id' | What the control emits. null emits the option object itself. |
optionDisabled | string | ((o: TOption) => boolean) | 'disabled' | Which suggestions cannot be picked. |
filterMatch | ((option: TOption, query: string) => boolean) | null | null | How filterLocal matches an option against the typed text. Left null, the resolved optionLabel is matched case-insensitively as a substring. |
label / placeholder / ariaLabel | string | '' / 'Select...' / '' | Field label, placeholder and accessible name. |
clearable / clearAriaLabel | boolean / string | GOG_CONFIG.control.clearable ?? false / 'Clear selection' | A clear button that appears only once there is something to clear. |
floatLabel / floatLabelShowPlaceholder | 'none' | 'in' | 'on' | 'over' / boolean | GOG_CONFIG.floatLabel.* ?? 'none' / false | Float-label variant and whether the placeholder reappears once it has floated. |
errorMessage / errorDisplay | string / 'manual' | 'auto' | '' / GOG_CONFIG.control.errorDisplay ?? 'manual' | Validation message, shown manually or derived from the bound form control. |
size / disabled / fullWidth / minWidth | GogSize / boolean / boolean / string | null | GOG_CONFIG.control.size ?? 'md' / false / true / null | Density, disabled state, and how the field sizes itself. |
appendToBody / dropdownDirection / dropdownWidth / dropdownMaxHeight / dropdownZIndex | boolean / GogDropdownDirection / string | null / string | null / number | null | GOG_CONFIG.dropdown.* ?? component defaults | Panel placement. appendToBody renders it into <body> so an overflow-clipped ancestor cannot cut it off. |