Basic Challenge: Validate Updates
Add validation to your "update" action, similar to what we did for the "create" action.
We'll cover the following
Problem statement
In this challenge, you need to make changes to the update
action to detect violations and the edit
view to display an error message accordingly. This is similar to what you have done for the create
action and the new
view.
Implementation
Get hands-on with 1400+ tech skills courses.