spiff-arena/spiffworkflow-frontend/src/themes/carbon
burnettk 351ff8433d make safari act a bit more like other browsers by adding a blank option w/ jasquat 2023-05-09 12:41:09 -04: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 display placeholder date as lowercase only 2023-04-21 09:26:49 -04: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 display the date in a react json schema form like the config but change it to y-m-d for processing w/ burnettk 2023-04-12 15:49:54 -04: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 make it so the message at the top of form is never strictly wrong 2023-02-21 22:30:17 -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 make safari act a bit more like other browsers by adding a blank option w/ jasquat 2023-05-09 12:41:09 -04: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 show help text for textareas as well w/ burnettk 2023-02-22 14:42:43 -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 allow setting date format using an env var at boot time w/ burnettk 2023-04-11 17:25:46 -04: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.