Company
Date Published
Author
Christian Mathiesen
Word count
630
Language
English
Hacker News points
None

Summary

The Frigade Forms SDK has introduced support for asynchronous validation between steps or pages in a form by utilizing the validationHandler prop on the <FrigadeForm /> component, allowing developers to prevent users from proceeding to the next step until an asynchronous call, such as a database or API request, is successfully completed. This feature, showcased in the onboarding flow of Frigade's own application, ensures that users are prompted to wait for the validation process via a loading indicator, enhancing the reliability of form submission processes. Developers can implement this functionality in their codebase by updating to @frigade/react version 1.35.29 and using the validationHandler to manage async validations effectively.