Question: Modify frontend to filter items by name Add an input field. Connect it to the v-model. Add a button Filter by name. Connect it to

Modify frontend to filter items by name

  1. Add an input field. Connect it to the v-model.
  2. Add a button Filter by name. Connect it to a filterByName function.
  3. Write your filterByName method to get the items from the backend, using the appropriate endpoint.
  4. Test your new frontend changes.

Modify frontend to allow the name of an item to be modified

  1. Add an input field for _id. Label it in the HTML. Connect it to the v-model.
  2. Add an input field for name. Label it in the HTML. Connect it to the v-model.
  3. Add a button Update Item name. Connect it to an updateItem function.
  4. Write your updateItem method to update the item in the backend, using the appropriate endpoint.
  5. Test your new frontend changes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!