We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73fc88f commit 9ece3e1Copy full SHA for 9ece3e1
packages/form/src/text-field/FormMessage.tsx
@@ -205,7 +205,7 @@ if (process.env.NODE_ENV !== "production") {
205
_counterValidator: (props, _propName, component) => {
206
const { length, maxLength } = props;
207
const lengthType = typeof length;
208
- const maxLengthType = typeof length;
+ const maxLengthType = typeof maxLength;
209
if (lengthType === maxLengthType) {
210
return null;
211
}
0 commit comments