spiff-arena/spiffworkflow-frontend/src/themes/carbon
burnettk adcb841214 remove duplicate label on radio buttons 2023-01-31 16:32:04 -05:00
..
AddButton make task show wide, and make repeating form icons match site styles. w/ dfunk 2023-01-30 15:51:48 -05:00
ArrayFieldItemTemplate remove unneeded divs 2023-01-30 16:47:20 -05:00
ArrayFieldTemplate updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
BaseInputTemplate replace fieldTemplate with unthemed core version and remove labels since that is handled in there 2023-01-30 14:06:41 -05:00
CarbonForm some updates for the carbon form theme w/ burnettk cullerton 2022-11-16 16:09:48 -05:00
CheckboxWidget copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
CheckboxesWidget copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
DateTimeWidget copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
DateWidget copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
DescriptionField added ability to add in custom validation error messages for text input fields w/ burnettk 2023-01-13 16:55:34 -05:00
ErrorList fixed error messaging a little bit for forms w/ burnettk cullerton 2022-11-16 17:12:01 -05:00
FieldErrorTemplate fixed error messaging a little bit for forms w/ burnettk cullerton 2022-11-16 17:12:01 -05:00
FieldHelpTemplate new mechanism to handle help more in line with how carbon works 2023-01-30 11:53:35 -05:00
FieldTemplate replace fieldTemplate with unthemed core version and remove labels since that is handled in there 2023-01-30 14:06:41 -05:00
IconButton make task show wide, and make repeating form icons match site styles. w/ dfunk 2023-01-30 15:51:48 -05:00
ObjectFieldTemplate updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
RadioWidget remove duplicate label on radio buttons 2023-01-31 16:32:04 -05:00
RangeWidget copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
SelectWidget replace fieldTemplate with unthemed core version and remove labels since that is handled in there 2023-01-30 14:06:41 -05:00
SubmitButton updated a couple form components to work with carbon w/ burnettk cullerton 2022-11-16 14:46:04 -05:00
Templates copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
TextareaWidget even textareas need to have blank labels since labels are in FieldTemplate 2023-01-30 14:21:02 -05:00
Theme copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
TitleField added ability to add in custom validation error messages for text input fields w/ burnettk 2023-01-13 16:55:34 -05:00
Widgets copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
WrapIfAdditionalTemplate updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
README.md added ability to add in custom validation error messages for text input fields w/ burnettk 2023-01-13 16:55:34 -05:00
index.css make task show wide, and make repeating form icons match site styles. w/ dfunk 2023-01-30 15:51:48 -05:00
index.ts some updates for the carbon form theme w/ burnettk cullerton 2022-11-16 16:09:48 -05:00

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.