Allowing Admins to Update Movies and Clear Values

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.

Published
Jun 15
Duration
13m 27s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

🕰️ Chapters
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

Join The Discussion! (2 Comments)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 1 month ago

    There's some kind of error with this lesson video player.

    1

    Please sign in or sign up for free to reply

    1. Commented 1 month ago

      Sorry about that, Luis, and thank you for the heads up! Should be all fixed now!

      0

      Please sign in or sign up for free to reply