LiveView Course Update #10: Live Validation
July 17, 2020
As we left things in the previous video of our Phoenix LiveView course, we have a form in place for checking in volunteers to our event. That form creates volunteers in our database and then updates the list of volunteers all without a full page reload. Perfect, except…
Even though we’re validating the volunteer’s data, the actual validation isn’t happening until the “Check In” button is clicked. That’s kinda a bummer. 😟
So this week we look at how easy it is to display real-time validation errors:
If you’ve already picked up a copy of the course, you’ll find this new video along with a new exercise in your account today.
Enjoy!