Skip to content

Feature request: make it possible to change the current search text through props. #893

@gsanta

Description

@gsanta

Right now the only way to change the text inside the search input, is to set the value property. But the value property creates some placeholder text not a 'real' text.

I came across this problem, when I created a validation outside react-select that prevents the user from typing specific characters. To achieve this I want to take control of the text inside of react-select search input. Currently there is no way for doing this, the only prop that 'resembles' this is the value, but if you change the value of the value property it will become some placeholder text not a real one. -> the result is that the user can not continuously type in the search field.

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