interface QSelectProps extends HTMLAttributes<HTMLDivElement>
?: boolean = false?: boolean = false?: string = undefined?: boolean = false?: boolean = false?: string = undefined?: boolean = false?: boolean = false?: string = undefined?: number = 300?: string = undefined?: boolean = false?: string = undefined?: (value: string, update: QSelectFilterUpdate, abort: () => void) => void | Promise<void> = undefined
: QSelectOption[] = undefined
?: boolean = false?: boolean = false?: boolean = false: QSelectValue = $bindable(undefined)
label and value properties. Using objects allows you to display a friendly label while storing a different value.When using object options, use the emitValue prop to return the value property instead of the entire object.
useInput with filterable to let users search through local options
by label.onFilter when the option list is filtered or loaded outside the component.multiple prop. This allows users to select more
than one option from the dropdown menu.displayValue prop to customize how selected values are displayed in the
select input. This is particularly useful for multiple selection.dense prop makes the select component more compact, useful for forms with space
constraints or for when you need to display multiple selects in a limited space.disabled prop to prevent user interaction with the select component. Disabled
selects maintain their appearance but don't respond to user input.error prop to indicate validation errors and hint to provide additional guidance to users.prepend, append, before, and after slots. These allow you to add icons or other content around the select field.bind:value directive. This makes
it easy to sync the select's state with your component's variables.noOptionText overrides the message for an individual select.Keyboard navigation support:
TabEnter/SpaceArrow keysHome/EndEscape