CodeYourFuture / CodeYourFuture/React-Module-Project

Feature implement Search functionality

Aberta
#19 0 comentários 0 reações 0 responsáveis Ver no GitHub
♟️ Dependent ticket 🐂 Size Medium 📅 Week 3 🧩 Feature
Linguagem predominante
JavaScript
Estrelas
1
Forks
28
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.