How to disable autoload for async options in version 1.0.0-beta5?
See original GitHub issueour application is currently using the newest version, and found the autoload
option is not working now. We want to disable autoload when react-select initialize. We hope the async loadOptions will only be called when user have input some text on the input.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
react-select - UNPKG
You can use a `disabled` property to indicate whether the option is disabled ... 206, autoload | bool | whether to auto-load the...
Read more >react-select - npm
A Select control built with and for ReactJS. Latest version: 5.4.0, last published: 3 months ago. Start using react-select in your project by...
Read more >SQLAlchemy Documentation - Read the Docs
5.6.10 how do I use ON DELETE CASCADE with SA's ORM? ... SQLAlchemy Documentation, Release 1.0.12 ... A good choice for loading a...
Read more >Untitled
_baseassign.spec async-some-1.0.2.tgz nodejs-async-some.spec nodejs-spdx.spec ... rubygem-sdoc-version-option-fix.patch rubygem-sdoc.spec sdoc-0.4.1.gem ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tested this solution and it appears to be missing a very important case.
I’d like to be able to async-load the default options without forcing user to type any input - but do that only if the user actually interacts with the widgets, e.g. by clicking the dropdown.
However with
minimumInput == 0
the load is triggered immediately (even if user does not interact with select), while withminimumInput > 0
when the user clicks the dropdown - it shows nothingLooks like this prop changed. From CHANGES.md: