docs(docs-infra): add missing readonly property to combobox guide

PR angular/components#33364 restored the `readonly` property for the
combobox, but the documentation was not updated to reflect this change.
This commit adds the missing `readonly` input and its description to
the Inputs / Model table in the combobox guide.
This commit is contained in:
rudzikdawid
2026-06-17 23:38:26 +02:00
committed by Kirill Cherkashin
parent e77a8a0c7a
commit 69a00043a4
+10 -9
View File
@@ -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.