We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 355b774 commit 8982336Copy full SHA for 8982336
src/components/form/TextField.tsx
@@ -77,7 +77,7 @@ const TextField: FC<TextFieldProps> = ({
77
return (
78
new Set(
79
uniqueCaseInsensitive
80
- ? values.map(value => value.toLowerCase())
+ ? values.map(value => (value as string).toLowerCase())
81
: values,
82
).size === values.length
83
)
0 commit comments