question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search functionality not showing

See original GitHub issue

Issue Description

Hi, i want to use dropdown menù with search functionality but it doesn’t work. I mean i have enabled correctly “search” but nothing happen. This is a part of the code:

let city = ['Rome', 'New York', 'Ottawa', 'Venice', 'Paris'];
<SelectDropdown
                data = {city}
                onSelect={(selectedItem, index) => {
                  this.setState({ operatorSelected: selectedItem })
                }}
                buttonTextAfterSelection={(selectedItem, index) => {
                  return selectedItem
                }}
                rowTextForSelection={(item, index) => {
                  return item
                }}
                renderDropdownIcon={isOpened => {
                  return <FontAwesome name={isOpened ? 'chevron-up' : 'chevron-down'} color={'#004975'} size={18} />;
                }}
                search
                dropdownIconPosition={'right'}
                defaultButtonText={'Lista degli operatori'}
                buttonStyle={styles.dropdownBtnStyle}
                buttonTextStyle={styles.dropdownBtnTxtStyle}
              />

And this is the version: "react-native-select-dropdown": "^2.0.1",

This is a screen of my application: IMG_20220906_161414__01

I tried also implementing Demo 3 but also doesn’t appear: IMG_20220906_170322__01

Thank you.

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AdelRedaa97commented, Sep 7, 2022

could you try the latest version 2.0.4 and please inform me if it’s still not working

0reactions
AdelRedaa97commented, Oct 21, 2022

onScrollEndReached prop is added for pagination in v3.0.0 and also onChangeSearchInputText to make your custom search function outside the component

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix WordPress Search Not Working (3+ Issues Fixed)
Use this detailed guide to fix WordPress search not working. Learn how to troubleshoot the common search issues in minutes.
Read more >
How to Fix WordPress Search Not Working (5 Common Errors)
Trying to fix issues with WordPress search not working on your site? Follow this easy tutorial on how to fix 5 common errors...
Read more >
WordPress search not working- How to fix in 5 minutes!
100% working fix for wordpress search not working issue.✓✓ Follow these simple steps to fix your wordpress search issues. No coding required.
Read more >
10 Ways to Fix the Windows Search Bar Not Showing or ...
10 Ways to Fix the Windows Search Bar Not Showing or Working on Windows 11 · 1. Check If the Windows Search Bar...
Read more >
Windows 10 Search Not Working? Try These Fixes - Lifewire
How to Fix Windows 10 Search Problems · Check your internet connection. · Restart your Windows 10 device. · Turn Cortana off and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found