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 asynchronous plugin validation #76

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

Support asynchronous plugin validation #76

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

Comments

@sergei-maertens
Copy link
Member

A number of components support validate.plugins which invokes a backend validation plugin.

There should be a mechanism (callback based) to call a validation plugin, and the SDK is then responsible for implementing the API call.

Tasks

  • Expose async runPluginValidation hook through render context & add matching prop to FormioForm
  • Pass the callback to the zod validation schema for supported components
  • Document how to use it (from the SDK perspective)
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