You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data/joy/components/autocomplete/autocomplete.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The `Autocomplete` renders an input and a popup, after triggered by a pointer or
26
26
27
27
### Options structure
28
28
29
-
By default, the component accepts the following options structures:
29
+
By default, the component accepts the following structures for `options`:
30
30
31
31
```ts
32
32
interfaceAutocompleteOption {
@@ -85,11 +85,11 @@ Each of the following examples demonstrates one feature of the Autocomplete comp
85
85
86
86
## Free solo
87
87
88
-
Set `freeSolo` to true so the textbox can contain any arbitrary value.
88
+
Set `freeSolo` to true so that the textbox can contain any arbitrary value.
89
89
90
90
### Search input
91
91
92
-
The prop is designed to cover the primary use case of a **search input** with suggestions, e.g. Google search or react-autowhatever.
92
+
This prop is designed to cover the primary use case of a **search input** with suggestions, e.g. Google search or react-autowhatever.
93
93
94
94
{{"demo": "FreeSolo.js"}}
95
95
@@ -218,7 +218,7 @@ The autocomplete component comes with three sizes out of the box: `sm`, `md` (th
218
218
To learn how to add more sizes to the component, check out [Themed components—Extend sizes](/joy-ui/customization/themed-components/#extend-sizes).
219
219
:::
220
220
221
-
The `size` can be controlled at the `FormControl`.
221
+
The `size` can also be controlled at the `FormControl`.
222
222
223
223
{{"demo": "SizeWithLabel.js"}}
224
224
@@ -232,7 +232,7 @@ The following demo relies on [autosuggest-highlight](https://github.com/moroshko
232
232
233
233
### GitHub's picker
234
234
235
-
To reproduce GitHub's label picker, the `Autocomplete` is rendered inside a [`PopperUnstyled`](/base/react-popper/). To remove the popup behavior from the autocomplete, replace the listbox slot with the `List` component.
235
+
To reproduce GitHub's label picker, the `Autocomplete` is rendered inside a [`PopperUnstyled`](/base/react-popper/). To remove the popup behavior from the autocomplete, replace the listbox slot with the [`List`](/joy-ui/react-list/) component.
0 commit comments