-
-
Notifications
You must be signed in to change notification settings - Fork 28
Feature implement Search functionality #19
Copy link
Copy link
Open
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🐂 Size Medium1-4 hours1-4 hours📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module🧩 Feature
Metadata
Metadata
Assignees
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🐂 Size Medium1-4 hours1-4 hours📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module🧩 Feature
Type
Projects
Status
📋 Backlog
Depends on #18
Instructions:
Still in the
<Bookings />component, implement thesearchmethod. It must use thesearchValvariable (that you just passed from the<Search />component) to filter the search results. The filter function should return bookings wherefirstNameorsurnamematchsearchVal. Once filtered, use thesetBookingsfunction to update the results rendered in<SearchResults />.Test:
Verify that when you enter an existing first name or surname and submit the form, the results are filtered accordingly in the customers table.