Skip to content

Async Select currently does not interact with defaultValue and defaultInputValue correctly #3047

Open
@gwyneplaine

Description

@gwyneplaine

This is because unlike <Creatable/> and the base <Select/> component, we do not wrap AsyncSelect in the StateManager, and in fact wrap the state managed Select in the makeAsyncSelect method.

The defaultValue and defaultInputValue props are still interacting as expected with the wrapped base select, however they are not currently interacting as expected with the wrapping async component.

See an example of this in CodeSandbox.

CC: @JedWatson @jossmac

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions