Movie Forms- couldn't save or update Movies

Hey people,

i am stuck in Forms for a long time now. IN Forms chapter, i have done the excersie to create Form and Save functions.

I have checked with his code and updated word to word changes. but still i couldn’t save or update my Movies.

issues:

  1. When i update a movie, the form just refreshes to orginal values and nothing saved.
    I checked the log in Save event. it shows the updated values. but still not saved.

  2. when i create a new movie, it has the same problem it isn’t showing the new movie. The submit action results in an error.

Uncaught TypeError: Cannot read properties of undefined (reading ‘push’)

However there are various other problems with versions i believe. I had difficulty in reading data from params. i had to use Hooks to get MovieID from movies page.

Please let me know if i need to share anything more. I have been stuck in this for ages.

Thanks in advance and Wishing you happy learning

1 Like

Hi Hema,

You can have look at previous topics and see how others solve the problems.

Regards,
Thang