Skip to content

Async selector's "isLoading" prop not working #3861

@Mujaddadi

Description

@Mujaddadi

I know that this issue has been reported earlier but I am not sure whether it is fixed or not. If I try to set the loading state manually by passing the isLoading prop to the selector, it doesn't show loading effect. I modified the example provided in the doc a bit- You can check it here.
Example

Without this prop working, we can't use react-select's Async functionality, if we are using any side effect library such as saga. The example given in documentation expects us to call the api inside the loadOptions function by using promises etc.

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