Test the application form
Now that the form is created and connected to the storage through the callback
methods we can test. First, make sure the localStorage
is cleared.
Type and run the following code line in the console:
localStorage.clear();
Now refresh the page.
Any users that were once in the grid should now be gone.
Go through your own testing of all the following actions:
Add a user
Double-click on a user in the grid and edit
Select a user row in the grid and remove a user
All of these actions will refresh the grid as data is changed. You will also notice the validation on the required fields.