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/pages/api/autocomplete.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,6 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
40
40
| <spanclass="prop-name">disableCloseOnSelect</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the popup won't close when a value is selected. |
41
41
| <spanclass="prop-name">disabled</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the input will be disabled. |
42
42
| <spanclass="prop-name">disableListWrap</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the list box in the popup will not wrap focus. |
43
-
| <spanclass="prop-name">disableOpenOnFocus</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the popup won't open on input focus. |
44
43
| <spanclass="prop-name">disablePortal</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | Disable the portal behavior. The children stay within it's parent DOM hierarchy. |
45
44
| <spanclass="prop-name">filterOptions</span> | <spanclass="prop-type">func</span> || A filter function that determines the options that are eligible.<br><br>**Signature:**<br>`function(options: T[], state: object) => undefined`<br>*options:* The options to render.<br>*state:* The state of the component. |
46
45
| <spanclass="prop-name">filterSelectedOptions</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, hide the selected options from the list box. |
@@ -64,6 +63,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
64
63
| <spanclass="prop-name">onInputChange</span> | <spanclass="prop-type">func</span> || Callback fired when the input value changes.<br><br>**Signature:**<br>`function(event: object, value: string, reason: string) => void`<br>*event:* The event source of the callback.<br>*value:* The new value of the text input.<br>*reason:* Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`. |
65
64
| <spanclass="prop-name">onOpen</span> | <spanclass="prop-type">func</span> || Callback fired when the popup requests to be opened. Use in controlled mode (see open).<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
66
65
| <spanclass="prop-name">open</span> | <spanclass="prop-type">bool</span> || Control the popup` open state. |
66
+
| <spanclass="prop-name">openOnFocus</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the popup will open on input focus. |
67
67
| <spanclass="prop-name">openText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Open'</span> | Override the default text for the *open popup* icon button.<br>For localization purposes, you can use the provided [translations](/guides/localization/). |
68
68
| <spanclass="prop-name required">options *</span> | <spanclass="prop-type">array</span> || Array of options. |
69
69
| <spanclass="prop-name">PaperComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">Paper</span> | The component used to render the body of the popup. |
0 commit comments