351ff8433d | ||
---|---|---|
.. | ||
AddButton | ||
ArrayFieldItemTemplate | ||
ArrayFieldTemplate | ||
BaseInputTemplate | ||
CarbonForm | ||
CheckboxWidget | ||
CheckboxesWidget | ||
DateTimeWidget | ||
DateWidget | ||
DescriptionField | ||
ErrorList | ||
FieldErrorTemplate | ||
FieldHelpTemplate | ||
FieldTemplate | ||
IconButton | ||
ObjectFieldTemplate | ||
RadioWidget | ||
RangeWidget | ||
SelectWidget | ||
SubmitButton | ||
Templates | ||
TextareaWidget | ||
Theme | ||
TitleField | ||
Widgets | ||
WrapIfAdditionalTemplate | ||
README.md | ||
index.css | ||
index.ts |
README.md
Custom Validation Error Message for String Inputs
If you have a property in your json schema like:
"user_generated_number_1": {"type": "string", "title": "User Generated Number", "default": "0", "minLength": 3}
it will generate this error message by default: "User Generated Number must NOT have fewer than 3 characters."
If you add the validationErrorMessage
key to the property json it will print that message instead.