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

Expose validation event trigger confirmation to form designers. #1171

Open
4 tasks
sergei-maertens opened this issue Jan 11, 2022 · 0 comments
Open
4 tasks
Assignees

Comments

@sergei-maertens
Copy link
Member

Currently we have a number of components (Iban, License Plate, Postcode) where the schema defaults to validateOn: blur, while other components default to validateOn: change (the Formio default).

This leads to inconsistent behaviour. Other than that, from Taiga issue 273 it's clear that (some) clients expect the validateOn: change behaviour, while we had a tendency to prefer on blur.

Formio allows form designers to specify the validation event trigger, so we should expose that configuration and remove the default overrides. This allows every client/tenant to configure the triggers per component as they see fit.

Tasks

  • Expose "validate on" configuration in form designer for all components
  • Remove custom default overrides for validateOn
    • in SDK
    • in backend
@sergei-maertens sergei-maertens self-assigned this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant