CodeYourFuture / CodeYourFuture/React-Module-Project
Feature implement Search functionality
Ouverte
♟️ Dependent ticket
🐂 Size Medium
📅 Week 3
🧩 Feature
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 28
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Depends on #18
**Instructions:**
Still in the `` component, implement the `search` method. It must use the `searchVal` variable (that you just passed from the `` 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 ``.
**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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.