import { SharedFormElementProps } from '../OnyxFormElement/types.js'; import { MultiselectTextMode } from '../OnyxSelect/types.js'; export type OnyxSelectInputProps = Omit & { /** * Current label(s) of the select. */ modelValue?: string[]; /** * How multiselect labels will be displayed in the input. * - summary (default): will show "x Selected" if more than 1 is selected. * - preview: will show the names of the selection as a truncated list. * A number-badge appears next to it including a tooltip with all selected names. */ textMode?: MultiselectTextMode; /** * Whether to hide the check icon when the input is in a success state. */ hideSuccessIcon?: boolean; /** * Highlight input as if it has focus. */ showFocus?: boolean; };