Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support displaying custom validation error messages #77

Open
3 tasks
sergei-maertens opened this issue Mar 11, 2025 · 0 comments
Open
3 tasks

Support displaying custom validation error messages #77

sergei-maertens opened this issue Mar 11, 2025 · 0 comments

Comments

@sergei-maertens
Copy link
Member

For a number of validation error types (they all have a key in Formio like required, minDate etc.), the form designer can supply there own error message to be displayed. This feature is currently not supported.

Tasks

  • For each component type, ensure that we have a type-safe way of accessing the custom error message if provided
  • The error messages support some interpolation - figure out how to integrate with react-intl, as i18next has a different interpolation format.
  • Ensure that the default validation errors match what is currently defined in Formio/SDK/our backend (see formio/{en,nl}.json in the backend)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant