Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions