Skip to content

Commit

Permalink
update description to, when using freesolo
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Mar 27, 2023
1 parent da2eaa4 commit 4e0edd0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/translations/api-docs/autocomplete/autocomplete.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"propDescriptions": {
"autoComplete": "If <code>true</code>, the portion of the selected suggestion that has not been typed by the user, known as the completion string, appears inline after the input cursor in the textbox. The inline completion string is visually highlighted and has a selected state.",
"autoHighlight": "If <code>true</code>, the first option is automatically highlighted.",
"autoSelect": "If <code>true</code>, the selected option becomes the value of the input when the Autocomplete loses focus unless the user chooses a different option or changes the character string in the input.<br>In addition of <code>freeSolo</code> mode, the typed value will be the input value if the Autocomplete loses focus without highlighting an option.",
"autoSelect": "If <code>true</code>, the selected option becomes the value of the input when the Autocomplete loses focus unless the user chooses a different option or changes the character string in the input.<br>When using <code>freeSolo</code> mode, the typed value will be the input value if the Autocomplete loses focus without highlighting an option.",
"blurOnSelect": "Control if the input should be blurred when an option is selected:<br>- <code>false</code> the input is not blurred. - <code>true</code> the input is always blurred. - <code>touch</code> the input is blurred after a touch event. - <code>mouse</code> the input is blurred after a mouse event.",
"ChipProps": "Props applied to the <a href=\"/material-ui/api/chip/\"><code>Chip</code></a> element.",
"classes": "Override or extend the styles applied to the component. See <a href=\"#css\">CSS API</a> below for more details.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"parametersDescriptions": {
"autoComplete": "If <code>true</code>, the portion of the selected suggestion that has not been typed by the user,\nknown as the completion string, appears inline after the input cursor in the textbox.\nThe inline completion string is visually highlighted and has a selected state.",
"autoHighlight": "If <code>true</code>, the first option is automatically highlighted.",
"autoSelect": "If <code>true</code>, the selected option becomes the value of the input\nwhen the Autocomplete loses focus unless the user chooses\na different option or changes the character string in the input.\n\nIn addition of <code>freeSolo</code> mode, the typed value will be the input value\nif the Autocomplete loses focus without highlighting an option.",
"autoSelect": "If <code>true</code>, the selected option becomes the value of the input\nwhen the Autocomplete loses focus unless the user chooses\na different option or changes the character string in the input.\n\nWhen using <code>freeSolo</code> mode, the typed value will be the input value\nif the Autocomplete loses focus without highlighting an option.",
"blurOnSelect": "Control if the input should be blurred when an option is selected:\n\n- <code>false</code> the input is not blurred.\n- <code>true</code> the input is always blurred.\n- <code>touch</code> the input is blurred after a touch event.\n- <code>mouse</code> the input is blurred after a mouse event.",
"clearOnBlur": "If <code>true</code>, the input's text is cleared on blur if no value is selected.\n\nSet to <code>true</code> if you want to help the user enter a new value.\nSet to <code>false</code> if you want to help the user resume their search.",
"clearOnEscape": "If <code>true</code>, clear all values when the user presses escape and the popup is closed.",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/useAutocomplete/useAutocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface UseAutocompleteProps<
* when the Autocomplete loses focus unless the user chooses
* a different option or changes the character string in the input.
*
* In addition of `freeSolo` mode, the typed value will be the input value
* When using `freeSolo` mode, the typed value will be the input value
* if the Autocomplete loses focus without highlighting an option.
* @default false
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ Autocomplete.propTypes /* remove-proptypes */ = {
* when the Autocomplete loses focus unless the user chooses
* a different option or changes the character string in the input.
*
* In addition of `freeSolo` mode, the typed value will be the input value
* When using `freeSolo` mode, the typed value will be the input value
* if the Autocomplete loses focus without highlighting an option.
* @default false
*/
Expand Down

0 comments on commit 4e0edd0

Please sign in to comment.