Skip to content

Search Does Not Filter Items #248

@ztroop

Description

@ztroop

Using the latest version of react-select-search, I'm trying to use the "search" functionality as demonstrated here.

import SelectSearch from 'react-select-search'

const options = [
    {name: 'Swedish', value: 'sv'},
    {name: 'English', value: 'en'},
    {
        type: 'group',
        name: 'Group name',
        items: [
            {name: 'Spanish', value: 'es'},
        ]
    },
];

<SelectSearch options={options} value="sv" name="language" placeholder="Choose your language" search />

What I get is a select menu that shows the options, lets me type in the bar, but doesn't filter as I would expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions