generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Description
Depends on #18
Instructions:
Still in the <Bookings />
component, implement the search
method. It must use the searchVal
variable (that you just passed from the <Search />
component) to filter the search results. The filter function should return bookings where firstName
or surname
match searchVal
. Once filtered, use the setBookings
function 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.
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