Chapters
00:00 - Refactoring to make use of the useForm helper
02:25 - Checking for errors from for form
03:15 - Normalizing our errors to a comma-delimited string
05:28 - Adding a loading indicator when our form is processing
07:00 - Clearing form values after successful submission
Join The Discussion! (2 Comments)
Please sign in or sign up for free to join in on the dicussion.
gribbl
Hi! Just wanted to share that a new update for
@adonisjs/inertia
has been released. You no longer need to declareerrors
in the Inertia config, and errors are now returned as a single string instead of an array of strings.Please sign in or sign up for free to reply
tomgobich
Yes, thank you for sharing!! Once completed, we'll be adding a new module to the end of this series covering what's new in Inertia v2 and the AdonisJS adapter and I'll circle back and add/edit some lessons to include notes for outdated things like this.
Please sign in or sign up for free to reply