CodeYourFuture / CodeYourFuture/React-Module-Project

Feature implement Search functionality

Abierto
#19 0 comentarios 0 reacciones 0 asignados Ver en GitHub
♟️ Dependent ticket 🐂 Size Medium 📅 Week 3 🧩 Feature
Lenguaje dominante
JavaScript
Estrellas
1
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.