Skip to content

Commit 5fc3df1

Browse files
Update Validators.js
1 parent d1dd9fb commit 5fc3df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/apps/labelstudio/src/components/Form/Validation/Validators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const minLength = (min) => (fieldName, value) => {
1515

1616
export const maxLength = (max) => (fieldName, value) => {
1717
if (isDefined(value) && String(value).length > max) {
18-
return `Must have no more than ${max} characters`;
18+
return `Must not be longer than ${max} characters`;
1919
}
2020
};
2121

0 commit comments

Comments
 (0)