Learn how to make an update form and allow value clearing
👍 If You Enjoy This Video, Consider Hitting The Like Button!
👨💻 Series Source Code: https://github.com/adocasts/lets-lear...
🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...
Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing
In this lesson, we'll recreate our movie form for the purpose of updating our movies. We'll also add the ability to clear values and discuss the difference between VineJS' optional and nullable chain options.
⏰ Timestamps
00:00 - Setting Up Our Edit Page
00:50 - Creating MovieService getFormOptions Method
02:20 - Querying Our Movie for Editing
02:46 - Changing Our Edit Page Text
03:26 - Setting Default Values from our Movie
05:35 - Adding An Edit Link on our Admin Movie Table
06:02 - Testing Our Edit Page's Default Values
06:25 - Debugging Our Released At Value
08:00 - Validating and Updating Our Movie
09:26 - Testing Our Movie Update
10:06 - Clearing Our Empty Values
11:20 - Transforming Values for Not Nullable, Default Values
------------------------- Socials --------------------------
Website: https://adocasts.com
Threads: https://threads.net/@adocasts
Twitter: / adocasts
GitHub: https://github.com/adocasts