Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature implement Search functionality #26

Open
kayali436 opened this issue Feb 27, 2024 · 0 comments
Open

Feature implement Search functionality #26

kayali436 opened this issue Feb 27, 2024 · 0 comments

Comments

@kayali436
Copy link
Owner

From React-Module-Project created by SallyMcGrath: CodeYourFuture#19

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.

@adniyaYousaf adniyaYousaf self-assigned this Feb 27, 2024
@kayali436 kayali436 moved this from 📋 Backlog to 🔖 Ready in CYF Hotel React Module Project Feb 28, 2024
@kayali436 kayali436 moved this from 🔖 Ready to 🏗 In progress in CYF Hotel React Module Project Feb 28, 2024
@kayali436 kayali436 moved this from 🏗 In progress to 🔖 Ready in CYF Hotel React Module Project Feb 28, 2024
@kayali436 kayali436 moved this from 🔖 Ready to 🏗 In progress in CYF Hotel React Module Project Feb 28, 2024
@adniyaYousaf adniyaYousaf moved this from 🏗 In progress to ✅ Done in CYF Hotel React Module Project Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants