## QSelect API

### Props

- `hover` (boolean, optional) *(added v2.28)*
  Also opens the options menu when the pointer hovers the control and closes it when the pointer leaves both the control and the menu; Click/tap and keyboard interactions keep toggling as usual (touch devices fall back to them), so clicking the control closes a hover-shown menu, unless it is still animating into view (in which case the click focuses the select and keeps the menu, so a single move-and-click gesture cannot close what it just opened); A hover-triggered open does not focus the select (and thus emits no @focus/@blur), until the user actually clicks or tabs into it; Only applies when the select shows its options as a menu (so not with 'behavior=dialog', nor on mobile platforms without 'behavior=menu')
- `hover-delay` (number, optional), default `0` *(added v2.28)*
  Delay (in milliseconds) between the pointer entering the control and the options showing up; Requires the 'hover' prop
- `hover-hide-delay` (number, optional), default `150` *(added v2.28)*
  Grace period (in milliseconds) in which the pointer can re-enter the control or the options menu before it gets closed; Requires the 'hover' prop
- `name` (string, optional)
  Used to specify the name of the control; Useful if dealing with forms; If not specified, it takes the value of 'for' prop, if it exists
  Examples: `'car_id'`
- `virtual-scroll-horizontal` (boolean, optional)
  Make virtual list work in horizontal mode
- `virtual-scroll-slice-size` (number | string, optional), default `10`
  Minimum number of items to render in the virtual list
  Examples: `60`, `'60'`
- `virtual-scroll-slice-ratio-before` (number | string, optional), default `1`
  Ratio of number of items in visible zone to render before it
- `virtual-scroll-slice-ratio-after` (number | string, optional), default `1`
  Ratio of number of items in visible zone to render after it
- `virtual-scroll-item-size` (number | string, optional), default `24`
  Default size in pixels (height if vertical, width if horizontal) of an item; This value is used for rendering the initial list; Try to use a value close to the minimum size of an item
- `virtual-scroll-sticky-size-start` (number | string, optional), default `0`
  Size in pixels (height if vertical, width if horizontal) of the sticky part (if using one) at the start of the list; A correct value will improve scroll precision
- `virtual-scroll-sticky-size-end` (number | string, optional), default `0`
  Size in pixels (height if vertical, width if horizontal) of the sticky part (if using one) at the end of the list; A correct value will improve scroll precision
- `table-colspan` (number | string, optional)
  The number of columns in the table (you need this if you use table-layout: fixed)
- `model-value` (any, required, syncable)
  Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
  Examples: `v-model="myModel"`
- `error` (boolean, optional), default `null`
  Does field have validation errors?; Setting it to a Boolean (even false) reserves the bottom space for the error message so the layout does not shift when the error appears; leave it at null (the default) when not using external validation, or use 'hide-bottom-space' to not reserve the space
- `error-message` (string, optional)
  Validation error message (gets displayed only if 'error' is set to 'true')
  Examples: `'Username must have at least 5 characters'`
- `no-error-icon` (boolean, optional)
  Hide error icon when there is an error
- `rules` (any[], optional)
  Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules
  Examples:
    - `[val => val.length <= 3 || 'Please use maximum 3 characters']`
    - `['fulltime']`
    - `[(val, rules) => rules.email(val) || 'Please enter a valid email address']`
- `reactive-rules` (boolean, optional)
  By default a change in the rules does not trigger a new validation until the model changes; If set to true then a change in the rules will trigger a validation; Has a performance penalty, so use it only when you really need it
- `lazy-rules` (boolean | string, optional), default `false`
  If set to boolean true then it checks validation status against the 'rules' only when field loses focus; while an error is displayed it re-checks on each model change so the error clears as soon as the value becomes valid; If set to 'ondemand' then it will trigger only when component's validate() method is manually called or when the wrapper QForm submits itself
  Accepts: `true`, `false`, `'ondemand'`
- `label` (string, optional)
  A text label that will “float” up above the input field, once the field gets focus
  Examples: `'Username'`
- `stack-label` (boolean, optional)
  Label will be always shown above the field regardless of field content (if any)
- `hint` (string, optional)
  Helper (hint) text which gets placed below your wrapped form component
  Examples: `'Fill in between 3 and 12 characters'`
- `hide-hint` (boolean, optional)
  Hide the helper (hint) text when field doesn't have focus
- `prefix` (string, optional)
  Prefix
  Examples: `'$'`
- `suffix` (string, optional)
  Suffix
  Examples: `'@gmail.com'`
- `label-color` (string, optional)
  Color name for the label from the Quasar Color Palette; Overrides the 'color' prop; The difference from 'color' prop is that the label will always have this color, even when field is not focused
  Examples: `'primary'`, `'teal'`, `'teal-10'`
- `color` (string, optional)
  Color name for component from the Quasar Color Palette
  Examples: `'primary'`, `'teal'`, `'teal-10'`
- `bg-color` (string, optional)
  Color name for component from the Quasar Color Palette
  Examples: `'primary'`, `'teal'`, `'teal-10'`
- `dark` (boolean, optional), default `null`
  Notify the component that the background is a dark color
- `loading` (boolean, optional)
  Signals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
- `clearable` (boolean, optional)
  Appends clearable icon when a value (not undefined or null) is set; When clicked, model becomes null
- `clear-icon` (string, optional)
  Custom icon to use for the clear button when using along with 'clearable' prop
  Examples: `'close'`
- `filled` (boolean, optional)
  Use 'filled' design for the field
- `outlined` (boolean, optional)
  Use 'outlined' design for the field
- `borderless` (boolean, optional)
  Use 'borderless' design for the field
- `standout` (boolean | string, optional)
  Use 'standout' design for the field; Specifies classes to be applied when focused (overriding default ones); a text color class in there also colors the content and the decorators
  Examples: `true`, `'bg-primary text-white'`
- `label-slot` (boolean, optional)
  Enables label slot; You need to set it to force use of the 'label' slot if the 'label' prop is not set
- `bottom-slots` (boolean, optional)
  Enables bottom slots ('error', 'hint', 'counter')
- `hide-bottom-space` (boolean, optional)
  Do not reserve space for hint/error/counter anymore when these are not used; As a result, it also disables the animation for those
- `counter` (boolean, optional)
  Show an automatic counter on bottom right
- `rounded` (boolean, optional)
  Applies a small standard border-radius for a squared shape of the component
- `square` (boolean, optional)
  Remove border-radius so borders are squared; Overrides 'rounded' prop
- `dense` (boolean, optional)
  Dense mode; occupies less space
- `item-aligned` (boolean, optional)
  Match inner content alignment to that of QItem
- `disable` (boolean, optional)
  Put component in disabled mode
- `readonly` (boolean, optional)
  Put component in readonly mode
- `autofocus` (boolean, optional)
  Focus field on initial component render
- `for` (string, optional)
  Used to specify the 'id' of the control and also the 'for' attribute of the label that wraps it; If no 'name' prop is specified, then it is used for this attribute as well
  Examples: `'myFieldsId'`
- `multiple` (boolean, optional)
  Allow multiple selection; Model must be Array
- `display-value` (number | string, optional)
  Override default selection string, if not using 'selected' slot/scoped slot and if not using 'use-chips' prop
  Examples:
    - `'Options: x, y, z'`
- `display-value-html` (boolean, optional)
  Force render the selected option(s) as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'selected' or 'selected-item' slots!
- `options` (any[], optional), default `[]`
  Array of objects with available options that the user can select from. For best performance freeze the list of options. Canonical form of each object is with 'label' (String), 'value' (Any) and optional 'disable' (Boolean) props (can be customized with options-value/option-label/option-disable props).
  Examples:
    - `['Tesla', 'iPhone']`
    - `[{ label: 'Tesla', value: 'car' }, { label: 'iPhone', value: 'phone' }]`
- `option-value` (Function | string, optional), default `'value'`
  Property of option which holds the 'value'; If using a function then for best performance, reference it from your scope and do not define it inline
  Function signature: `(option?: string | object) => any`
  Examples: `'modelNumber'`, `item => (item === null ? null : item.modelNumber)`
  Params:
    - `option` (string | object, optional)
      The current option being processed
      Examples:
        - `'Tesla'`
        - `'iPhone'`
        - `{ label: 'Tesla', value: 'car', cannotSelect: true }`
  Returns: `any`
    Value of the current option
    Examples: `'car'`, `34`
- `option-label` (Function | string, optional), default `'label'`
  Property of option which holds the 'label'; If using a function then for best performance, reference it from your scope and do not define it inline
  Function signature: `(option?: string | object) => string`
  Examples: `'itemName'`, `item => (item === null ? 'Null value' : item.itemName)`
  Params:
    - `option` (string | object, optional)
      The current option being processed
      Examples:
        - `'Tesla'`
        - `'iPhone'`
        - `{ label: 'Tesla', value: 'car', cannotSelect: true }`
  Returns: `string`
    Label of the current option
    Examples: `'Tesla'`, `'iPhone'`
- `option-disable` (Function | string, optional), default `'disable'`
  Property of option which tells it's disabled; The value of the property must be a Boolean; If using a function then for best performance, reference it from your scope and do not define it inline
  Function signature: `(option?: string | object) => boolean`
  Examples: `item => (item === null ? true : item.cannotSelect)`, `option-disable="cannotSelect"`
  Params:
    - `option` (string | object, optional)
      The current option being processed
      Examples:
        - `'Tesla'`
        - `'iPhone'`
        - `{ label: 'Tesla', value: 'car', cannotSelect: true }`
  Returns: `boolean`
    If true, the current option will be disabled
- `hide-selected` (boolean, optional)
  Hides selection; Use the underlying input tag to hold the label (instead of showing it to the right of the input) of the selected option; Only works for non 'multiple' Selects
- `hide-dropdown-icon` (boolean, optional)
  Hides dropdown icon; the default loading spinner is also suppressed (with the icon hidden it would change the field's width), while a 'loading' slot still renders
- `hide-dialog-close` (boolean, optional) *(added v2.28)*
  Hide the close button rendered inside the control when the options are displayed as a dialog
- `dropdown-icon` (string, optional)
  Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)
  Examples: `'map'`, `'ion-add'`, `'img:https://cdn.quasar.dev/logo-v2/svg/logo.svg'`, `'img:path/to/some_image.png'`
- `max-values` (number | string, optional)
  Allow a maximum number of selections that the user can do
- `options-dense` (boolean, optional)
  Dense mode for options list; occupies less space
- `options-dark` (boolean, optional), default `null`
  Options menu will be colored with a dark color
- `options-selected-class` (string, optional)
  CSS class name for options that are active/selected; Set it to an empty string to stop applying the default (which is text-* where * is the 'color' prop value)
  Examples: `'text-orange'`
- `options-html` (boolean, optional)
  Force render the options as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'option' slot!
- `options-cover` (boolean, optional)
  Expanded menu will cover the component (will not work along with 'use-input' prop for obvious reasons)
- `no-option-label` (string, optional) *(added v2.28)*
  Message to display in the menu when there are no options to show; Gets overridden by the 'no-option' slot, which should be used instead when custom content or per-instance markup is needed
  Examples: `'No results'`
- `menu-shrink` (boolean, optional)
  Allow the options list to be narrower than the field (only in menu mode)
- `popup-content-class` (string, optional)
  Class definitions to be attributed to the popup content
  Examples: `'my-special-class'`
- `popup-content-style` (string | any[] | object, optional)
  Style definitions to be attributed to the popup content
  Examples: `'background-color: #ff0000'`, `{ backgroundColor: '#ff0000' }`
- `popup-no-route-dismiss` (boolean, optional) *(added v2.15)*
  Changing route app won't dismiss the popup (menu or dialog)
- `use-chips` (boolean, optional)
  Use QChip to show what is currently selected
- `no-chip-remove` (boolean, optional) *(added v2.28)*
  Hide the remove icon of the QChips (when 'use-chips' is enabled) and disable removing the last selection with Backspace; Does not affect 'clearable' behavior
- `use-input` (boolean, optional)
  Use an input tag where users can type
- `maxlength` (string | number, optional)
  Specify a max length for the inner input tag (if 'use-input' is enabled)
- `fill-input` (boolean, optional)
  Fills the input with current value; Useful along with 'hide-selected'; Does NOT work along with 'multiple' selection
- `new-value-mode` (string, optional)
  Enables creation of new values and defines behavior when a new value is added: 'add' means it adds the value (even if possible duplicate), 'add-unique' adds only unique values, and 'toggle' adds or removes the value (based on if it exists or not already); When using this prop then listening for @new-value becomes optional (only to override the behavior defined by 'new-value-mode')
  Accepts: `'add'`, `'add-unique'`, `'toggle'`
- `map-options` (boolean, optional)
  Try to map labels of model from 'options' Array; has a small performance penalty; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;  Refer to the 'Affecting model' section above
- `no-option-prefetch` (boolean, optional) *(added v2.28)*
  Do not automatically call the 'filter' handler when the (lazy loaded) options are needed to map a preloaded model value through 'map-options'; the field displays the raw model value until the options get loaded
- `disable-tab-selection` (boolean, optional) *(added v2.17)*
  Prevents the tab key from confirming the currently hovered option
- `emit-value` (boolean, optional)
  Update model with the value of the selected option instead of the whole option
- `input-debounce` (number | string, optional), default `500`
  Debounce the input model update with an amount of milliseconds (also affects the 'filter' event, if used)
- `input-class` (string | any[] | object, optional)
  Class definitions to be attributed to the underlying input tag
  Examples: `'my-special-class'`, `{ 'my-special-class': true }`
- `input-style` (string | any[] | object, optional)
  Style definitions to be attributed to the underlying input tag
  Examples: `'background-color: #ff0000'`, `{ backgroundColor: '#ff0000' }`
- `tabindex` (number | string, optional), default `0`
  Tabindex HTML attribute value
  Examples: `100`, `'0'`
- `autocomplete` (string, optional)
  Autocomplete attribute for field
  Examples: `'country'`
- `transition-show` (string, optional), default `'fade'`
  Transition when showing the menu/dialog; One of Quasar's embedded transitions
  Examples: `'fade'`, `'slide-down'`
- `transition-hide` (string, optional), default `'fade'`
  Transition when hiding the menu/dialog; One of Quasar's embedded transitions
  Examples: `'fade'`, `'slide-down'`
- `transition-duration` (string | number, optional), default `300`
  Transition duration when hiding the menu/dialog (in milliseconds, without unit)
- `behavior` (string, optional), default `'default'`
  Overrides the default dynamic mode of showing as menu on desktop and dialog on mobiles
  Accepts: `'default'`, `'menu'`, `'dialog'`
- `menu-anchor` (string, optional)
  Two values setting the starting position or anchor point of the options list relative to the field (only in menu mode)
  Accepts: `'top left'`, `'top middle'`, `'top right'`, `'top start'`, `'top end'`, `'center left'`, `'center middle'`, `'center right'`, `'center start'`, `'center end'`, `'bottom left'`, `'bottom middle'`, `'bottom right'`, `'bottom start'`, `'bottom end'`
- `menu-self` (string, optional)
  Two values setting the options list's own position relative to its target (only in menu mode)
  Accepts: `'top left'`, `'top middle'`, `'top right'`, `'top start'`, `'top end'`, `'center left'`, `'center middle'`, `'center right'`, `'center start'`, `'center end'`, `'bottom left'`, `'bottom middle'`, `'bottom right'`, `'bottom start'`, `'bottom end'`
- `menu-offset` (any[], optional)
  An array of two numbers (in pixels) which expands the anchor element's bounding box outward horizontally and vertically; the options list is then positioned against the expanded box, so the visible effect depends on the 'anchor'/'self' points in use (only in menu mode)
  Examples:
    - `[8, 8]`
    - `[5, 10]`

### Computed Props

- `hasError` (boolean, optional)
  Whether the component is in error state

### Methods

- `scrollTo(index: number | string, edge?: string): void`
  Scroll the virtual scroll list to the item with the specified index (0 based)
  Params:
    - `index` (number | string, required)
      The index of the list item (0 based)
    - `edge` (string, optional)
      The edge to align to if the item is not visible already (by default it aligns to end if scrolling towards the end and to start otherwise); If the '-force' version is used then it always aligns
      Accepts: `'start'`, `'center'`, `'end'`, `'start-force'`, `'center-force'`, `'end-force'`
- `reset(): void`
  Resets the virtual scroll computations; Needed for custom edge-cases
- `refresh(index?: string | number): void`
  Refreshes the virtual scroll list; Use it after appending items
  Params:
    - `index` (string | number, optional)
      The index of the list item to scroll to after refresh (0 based); If it's not specified the scroll position is not changed; Use a negative value to keep scroll position
      Examples: `5`
- `resetValidation(): void`
  Reset validation status
- `validate(value?: any): boolean | Promise<boolean>`
  Trigger a validation
  Params:
    - `value` (any, optional)
      Optional value to validate against
  Returns: `boolean | Promise<boolean>`
    True/false if no async rules, otherwise a Promise with the outcome (true -> validation was a success, false -> invalid models detected)
    Examples: `true`, `validate().then(outcome => { ... })`
- `focus(): void`
  Focus component
- `blur(): void`
  Blur component (lose focus)
- `showPopup(): void`
  Focus and open popup
- `hidePopup(): void`
  Hide popup
- `removeAtIndex(index: number): void`
  Remove selected option located at specific index
  Params:
    - `index` (number, required)
      Index at which to remove selection
- `add(opt: any, unique?: boolean): void`
  Adds option to model
  Params:
    - `opt` (any, required)
      Option to add to model
    - `unique` (boolean, optional)
      Option must be unique
- `toggleOption(opt: any, keepOpen?: boolean): void`
  Add/remove option from model
  Params:
    - `opt` (any, required)
      Option to add to model
    - `keepOpen` (boolean, optional)
      Don't close the menu and do not clear the filter
- `getOptionIndex(): number`
  Gets current focused option index from menu; It's -1 if no option is focused
  Returns: `number`
    Index of option from menu; It's -1 if no option is focused
- `setOptionIndex(index: number): void`
  Sets option from menu as 'focused'; -1 to focus none
  Params:
    - `index` (number, required)
      Index of option from menu; -1 to focus none
- `moveOptionSelection(offset?: number, skipInputValue?: boolean): void`
  Move selected option from menu by index offset
  Params:
    - `offset` (number, optional), default `1`
      Number of options to move up or down
    - `skipInputValue` (boolean, optional)
      Don't set input-value on navigation
- `filter(value: string): void`
  Filter options
  Params:
    - `value` (string, required)
      String to filter with
      Examples: `'car'`
- `updateMenuPosition(): void`
  Recomputes menu position
- `updateInputValue(value: string, noFilter?: boolean): void`
  If 'use-input' is specified, this updates the value that it holds
  Params:
    - `value` (string, required)
      String to set the input value to
      Examples: `'hotel'`
    - `noFilter` (boolean, optional)
      Set to true if you don't want the filter (if any) to be also triggered
- `isOptionSelected(opt: any): boolean`
  Tells if an option is selected
  Params:
    - `opt` (any, required)
      Option entry
  Returns: `boolean`
    Option is selected or not
- `getEmittingOptionValue(opt: any): any`
  Get the model value that would be emitted by QSelect when selecting a said option; Also takes into consideration if 'emit-value' is set
  Params:
    - `opt` (any, required)
      Option entry
  Returns: `any`
    Emitting model value of said option
- `getOptionValue(opt: any): any`
  Get the model value of an option; Takes into consideration 'option-value' (if used), but does not looks for 'emit-value', like getEmittingOptionValue() does
  Params:
    - `opt` (any, required)
      Option entry
  Returns: `any`
    Model value of said option
- `getOptionLabel(opt: any): any`
  Get the label of an option; Takes into consideration the 'option-label' prop (if used)
  Params:
    - `opt` (any, required)
      Option entry
  Returns: `any`
    Label of said option
- `isOptionDisabled(opt: any): boolean`
  Tells if an option is disabled; Takes into consideration 'option-disable' prop (if used)
  Params:
    - `opt` (any, required)
      Option entry
  Returns: `boolean`
    Option is disabled or not

### Events

- `@virtual-scroll`
  Emitted when the virtual scroll occurs
  Params:
    - `details` (object, optional)
      Object of properties on the new scroll position
      Object shape:
        - `index` (number, required)
          Index of the list item that was scrolled into view (0 based)
        - `from` (number, required)
          The index of the first list item that is rendered (0 based)
        - `to` (number, required)
          The index of the last list item that is rendered (0 based)
        - `direction` (string, required)
          Direction of change
          Accepts: `'increase'`, `'decrease'`
        - `ref` (ComponentInstance, required)
          Vue reference to the QSelect
- `@update:model-value`
  Emitted when the component needs to change the model; Is also used by v-model
  Params:
    - `value` (any, required)
      New model value
- `@focus`
  Emitted when component gets focused
  Params:
    - `evt` (Event, optional)
      JS event object
- `@blur`
  Emitted when component loses focus
  Params:
    - `evt` (Event, optional)
      JS event object
- `@clear`
  When using the 'clearable' property, this event is emitted when the clear icon is clicked
  Params:
    - `value` (any, optional)
      The previous value before clearing it
- `@input-value`
  Emitted when the value in the text input changes
  Params:
    - `value` (string, optional)
      New text value
- `@remove`
  Emitted when an option is removed from selection
  Params:
    - `details` (object, optional)
      Removal details
      Object shape:
        - `index` (number, required)
          Model index at which removal took place
        - `value` (any, required)
          The actual value that was removed
- `@add`
  Emitted when an option is added to the selection
  Params:
    - `details` (object, optional)
      Addition details
      Object shape:
        - `index` (number, required)
          Model index at which addition took place
        - `value` (any, required)
          The actual value that was added
- `@new-value`
  Enables creation of new values; Emitted when a new value has been created; You can override 'new-value-mode' property with it
  Params:
    - `inputValue` (string, optional)
      What the user typed
      Examples: `'phone'`
    - `doneFn` (Function, optional)
      Adds (optional) value to the model; Do not forget to call it after you validate the newly created value; Call it with no parameters if nothing should be added
      Function signature: `(item?: any, mode?: string) => void`
      Params:
        - `item` (any, optional)
          Item to add
        - `mode` (string, optional), default `'add'`
          Override 'new-value-mode' (prop) behavior should you wish to
          Accepts: `'add'`, `'add-unique'`, `'toggle'`
- `@filter`
  Emitted when user wants to filter a value; Also emitted (with an empty input value) by QSelect itself when it needs the lazy loaded options to map a preloaded model value through 'map-options' (opt out with 'no-option-prefetch')
  Params:
    - `inputValue` (string, optional)
      What the user typed
      Examples: `'phone'`
    - `doneFn` (Function, optional)
      Supply a function which makes the necessary updates
      Function signature: `(callbackFn: Function, afterFn?: Function) => void`
      Params:
        - `callbackFn` (Function, required)
          Callback to call to make the actual updates
        - `afterFn` (Function, optional)
          Callback to call at the end after the update has been fully processed by QSelect
          Function signature: `(ref: ComponentInstance) => void`
          Params:
            - `ref` (ComponentInstance, required)
              Vue reference to the QSelect which triggered the filtering
    - `abortFn` (Function, optional)
      Call this function if something went wrong
- `@filter-abort`
  Emitted when a filtering was aborted; Probably a new one was requested?
- `@popup-show`
  Emitted when the select options menu or dialog is shown.
  Params:
    - `evt` (Event, optional)
      JS event object; Is undefined when the popup is not triggered by a direct user interaction (e.g. it opens as an async filter resolves or through the showPopup method)
- `@popup-hide`
  Emitted when the select options menu or dialog is hidden.
  Params:
    - `evt` (Event, optional)
      JS event object; Is undefined when the popup is not dismissed by a direct user interaction (e.g. it closes because an option got selected or through the hidePopup method)

### Slots

- `#default`
  Field main content
- `#prepend`
  Prepend inner field; Suggestions: QIcon, QBtn
- `#append`
  Append to inner field; Suggestions: QIcon, QBtn
- `#before`
  Prepend outer field; Suggestions: QIcon, QBtn
- `#after`
  Append outer field; Suggestions: QIcon, QBtn
- `#label`
  Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored
- `#error`
  Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>
- `#hint`
  Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>
- `#counter`
  Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>
- `#loading`
  Override default spinner when component is in loading mode; Suggestion: spinners
- `#selected`
  Override default selection slot; Suggestion: QChip
- `#before-options`
  Template slot for the elements that should be rendered before the list of options; the ARIA combobox pattern keeps keyboard focus on the field while the popup is open, so interactive elements placed here are not keyboard/screen-reader accessible - prefer modeling such actions as regular options or placing them outside of the popup
- `#after-options`
  Template slot for the elements that should be rendered after the list of options; the ARIA combobox pattern keeps keyboard focus on the field while the popup is open, so interactive elements placed here are not keyboard/screen-reader accessible - prefer modeling such actions as regular options or placing them outside of the popup

### Scoped Slots

- `#no-option`
  What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
  Scope:
    - `inputValue` (string, optional)
      Input textfield value, if any (not QSelect model)
      Examples: `'typed something'`
- `#selected-item`
  Override default selection slot; Suggestion: QChip
  Scope:
    - `index` (number, optional)
      Selection index
    - `opt` (any, optional)
      Selected option -- its value is taken from model
    - `selected` (boolean, optional)
      Always true -- passed down as prop to QItem (when using QItem)
    - `html` (boolean, optional)
      Is the content HTML?
    - `removeAtIndex` (Function, optional)
      Remove selected option located at specific index
      Function signature: `(index: number) => void`
      Params:
        - `index` (number, required)
          Index at which to remove selection
    - `toggleOption` (Function, optional)
      Add/remove option from model
      Function signature: `(opt: any) => void`
      Params:
        - `opt` (any, required)
          Option to add to model
    - `tabindex` (number, optional)
      Tabindex HTML attribute value associated with respective option
      Accepts: `0`, `-1`
- `#option`
  Customize how options are rendered; Suggestion: QItem
  Scope:
    - `index` (number, optional)
      Option index
    - `opt` (any, optional)
      Option -- its value is taken from 'options' prop
    - `html` (boolean, optional)
      Is the content HTML?
    - `label` (string, optional)
      Label of the option
    - `selected` (boolean, optional)
      Is option selected?
    - `focused` (boolean, optional)
      Is option focused?
    - `toggleOption` (Function, optional)
      Add/remove option from model
      Function signature: `(opt: any) => void`
      Params:
        - `opt` (any, required)
          Option to add to model
    - `setOptionIndex` (Function, optional)
      Sets option from menu as 'focused'
      Function signature: `(index: number) => void`
      Params:
        - `index` (number, required)
          Index of option from menu
    - `itemProps` (object, optional)
      Computed properties passed down to QItem

