assemblee-virtuelle / semapps

A toolbox to create semantic web applications
https://semapps.org
Apache License 2.0
88 stars 9 forks source link

Fix: login form reset second try #1318

Closed Laurin-W closed 1 month ago

Laurin-W commented 1 month ago

I used a bit of a less "invasive" approach now and kept the react-admin wrappers but used react-hook-form directly only in order to get the formContext which is required to "reset" the form to preserve the internal form state. I also made the error notifcations have the red error theme to make it consistent with the notifications shown when form validation errors occur and the user tries to submit the form.