In the previous episode, we got the "happy path" of our form to work properly. But what about situations where the validation checks failed? Let's conditionally render a red validation message below each input that failed the validator.
Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: https://laracasts.com
Build Modern Laravel Apps Using Inertia.js: https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js
Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way
Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: https://laracasts.com
Build Modern Laravel Apps Using Inertia.js: https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js
Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way
- Category
- Web design
Be the first to comment