react-native-dropdown-select-list icon indicating copy to clipboard operation
react-native-dropdown-select-list copied to clipboard

Error when using search

Open HenryBridges opened this issue 2 years ago • 1 comments

Hi,

It may be due to the data items i am using to populate the dropdown but get the following issue when i enter a letter into the search bar:

` <SelectList

        defaultOption={defaultOption}

        setSelected={val => setSelectedDish(val)}

        search={true}

        data={dishNames}

        boxStyles={{width: 0.55 * S_WIDTH}}

        arrowicon={
          <MIcon name="arrow-drop-down" size={20} color={'black'} />
        }

        searchicon={<MIcon name="search" size={20} color={'black'} />}
      />

`

Screenshot 2023-04-05 at 19 48 37

The data items i use are an array of just strings (not objects)

HenryBridges avatar Apr 05 '23 18:04 HenryBridges

I have the same problem. Did you solve it?

MOUTAIROU avatar Nov 26 '23 07:11 MOUTAIROU