Closed joshuagraber closed 4 months ago
Another one here for you @josh-chamberlain when you have time.
Just some under-the-hood logic. Screen recording shows updated functionality:
TLDR: the Form
state was not properly reactive, so when I dynamically updated the schema to add a confirm_password
field, it wasn't updating.
While here, I also added support for a change
emit to clear custom error validation (such as what is passed from QuickSearchForm
) when a user updates the fields to be correct per the custom validation. I'll also need this for the "signup" version of the login form, as we'll need to check that the password values match before sending pw to the backend, etc.
:tada: This PR is included in version 2.4.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Ensure Form props passed to form element (
id
andname
were missing) Ensure data update on schema change (usereactive
instead ofref
) Addchange
emit to Form (for clearing custom errors) Usechange
event emitted byForm
for clearing custom error handling inQuickSearchForm