Update frontend/src/utils/form.ts
Co-authored-by: Emma Segal-Grossman <hi@emma.cafe>
This commit is contained in:
parent
a234a36057
commit
38a877fa8d
@ -54,7 +54,7 @@ export function maxLengthValidator(maxLength: number): MaxLengthValidator {
|
|||||||
|
|
||||||
el.setCustomValidity(
|
el.setCustomValidity(
|
||||||
isInvalid
|
isInvalid
|
||||||
? msg(str`Please shorten this text to ${maxLength} or less characters.`)
|
? msg(str`Please shorten this text to ${maxLength} or fewer characters.`)
|
||||||
: "",
|
: "",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user