question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Input error on Async.Select with loadOptions

See original GitHub issue

input value is assigned like ‘[object promise]’ This is fixed by

In 'Async.js

return thenPromise(this.props.loadOptions(input, responseHandler), responseHandler);

to

thenPromise(this.props.loadOptions(input, responseHandler), responseHandler); return input;

Thanks. best regards.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
lobsteropteryxcommented, May 27, 2016

I believe I have a fix for this, with passing tests. Shall I submit a PR?

2reactions
JedWatsoncommented, May 31, 2016

Fixed by #992

Read more comments on GitHub >

github_iconTop Results From Across the Web

React-Select Async loadOptions is not loading options properly
Here is my front end code for react-async select component. I do use debounce in my getOptions function to reduce number of backend...
Read more >
React-Select Async loadOptions is not loading options properly
React Async Select loadoption sometimes fail to loads the option. This is a very strange phenomenon after couple of set of queries react ......
Read more >
Async - React Select
A flexible and beautiful Select Input control for ReactJS with ... Async. Use the Async component to load options from a remote source...
Read more >
loadOptions JavaScript and Node.js code examples - Tabnine
Best JavaScript code snippets using loadOptions(Showing top 15 results out of 315) · src/components/react-select-async-single. · mocha-parallel. · src/react-select ...
Read more >
@commercetools-uikit/async-select-field - npm
A controlled input component with validation states and a label getting a selection from an asynchronously loaded list from the user.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found