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
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
Copy file name to clipboardExpand all lines: docs/data/material/components/autocomplete/autocomplete.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,20 @@ However, you can use different structures by providing a `getOptionLabel` prop.
53
53
54
54
If your options are objects, you must provide the `isOptionEqualToValue` prop to ensure correct selection and highlighting. By default, it uses strict equality to compare options with the current value.
55
55
56
+
:::warning
57
+
If your options have duplicate labels, you must extract a unique key with the `getOptionKey` prop.
0 commit comments