Skip to content

Commit 108071c

Browse files
committed
docs improve
1 parent 0a76519 commit 108071c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/data/material/components/autocomplete/CustomizedHook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ CustomAutocomplete.propTypes = {
221221
*
222222
* If used in free solo mode, it must accept both the type of the options and a string.
223223
*
224-
* @param {Value} option
224+
* @param {Value|string} option
225225
* @returns {string}
226226
* @default (option) => option.label ?? option
227227
*/

docs/data/material/migration/upgrade-to-v9/upgrade-to-v9.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Expect updates as new breaking changes are introduced.
2626

2727
### Autocomplete
2828

29+
#### freeSolo type related changes
30+
2931
When the `freeSolo` prop is passed as `true`, the `getOptionLabel` and `isOptionEqualToValue` props
3032
accept `string` as well for their `option` and, respectively, `value` arguments:
3133

0 commit comments

Comments
 (0)