forked from MapComplete/MapComplete
Add validation on max length
This commit is contained in:
parent
7b47cff62e
commit
670b40beb8
2 changed files with 21 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue