Add validation on max length

This commit is contained in:
Pieter Vander Vennet 2024-07-16 12:49:17 +02:00
parent 7b47cff62e
commit 670b40beb8
2 changed files with 21 additions and 4 deletions

View file

@ -1,6 +1,6 @@
import { Validator } from "../Validator"
import StringValidator from "./StringValidator"
export default class TextValidator extends Validator {
export default class TextValidator extends StringValidator {
constructor() {
super(
"text",