Answered step by step
Verified Expert Solution
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
- Add an input field. Connect it to the v-model.
- Add a button Filter by name. Connect it to a filterByName function.
- Write your filterByName method to get the items from the backend, using the appropriate endpoint.
- Test your new frontend changes.
Modify frontend to allow the name of an item to be modified
- Add an input field for _id. Label it in the HTML. Connect it to the v-model.
- Add an input field for name. Label it in the HTML. Connect it to the v-model.
- Add a button Update Item name. Connect it to an updateItem function.
- Write your updateItem method to update the item in the backend, using the appropriate endpoint.
- Test your new frontend changes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started