Update index.tsx Add Search Functionality to Dropdown Component
This PR introduces a searchable dropdown component to enhance user experience when selecting from a large list of options. The new functionality allows users to: 1. Search within the dropdown options using a text input 2. Filter options dynamically as they type 3. Select an option either by typing or clicking 4. Maintain accessibility standards with keyboard navigation Key Changes: - Added a search input field above the dropdown options - Implemented real-time filtering based on user input - Enhanced styling for better visibility of search results - Maintained backward compatibility with existing prop interfaces - Added unit tests for search functionalitypull/22474/head
parent
229b4d621e
commit
1c060e5f1e
Loading…
Reference in New Issue