Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions adev/src/content/guide/aria/combobox.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,16 @@ Coordinates an interactive trigger element (such as a text input, button, or div

#### Inputs / Model

| Property | Type | Default | Description |
| ------------------ | ---------------------- | ------- | ------------------------------------------------------------------- |
| `value` | `ModelSignal<string>` | `''` | Two-way bindable text value of the combobox |
| `expanded` | `ModelSignal<boolean>` | `false` | Two-way bindable open/closed expanded state of the popup |
| `disabled` | `boolean` | `false` | Disables the combobox trigger element |
| `softDisabled` | `boolean` | `true` | Disables interaction while keeping the element keyboard focusable |
| `alwaysExpanded` | `boolean` | `false` | Forces the popup to always remain open |
| `inlineSuggestion` | `string \| undefined` | - | Sets an inline suggestion to be highlighted at the end of the input |
| `tabIndex` | `number \| undefined` | - | Tabindex of the combobox element (aliased to `tabindex`) |
| Property | Type | Default | Description |
| ------------------ | ---------------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |
| `value` | `ModelSignal<string>` | `''` | Two-way bindable text value of the combobox |
| `expanded` | `ModelSignal<boolean>` | `false` | Two-way bindable open/closed expanded state of the popup |
| `disabled` | `boolean` | `false` | Disables the combobox trigger element |
| `softDisabled` | `boolean` | `true` | Disables interaction while keeping the element keyboard focusable |
| `readonly` | `boolean` | `false` | Makes the combobox read-only. Prevents the user from changing the value while keeping the element keyboard focusable |
| `alwaysExpanded` | `boolean` | `false` | Forces the popup to always remain open |
| `inlineSuggestion` | `string \| undefined` | - | Sets an inline suggestion to be highlighted at the end of the input |
| `tabIndex` | `number \| undefined` | - | Tabindex of the combobox element (aliased to `tabindex`) |

All keyboard events, focus coordination, and ARIA state properties (including `role="combobox"`, `aria-autocomplete`, and `aria-expanded`) are handled automatically on the host element.

Expand Down
Loading