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.

Autocomplete / Async Retrieval for regionClsList

See original GitHub issue

I need to do something like:

<ReactImageAnnotate
    .......
    .......
    regionClsList={input => this.getClasses(input)}
/>

where given the input typed into the select ‘value container’ I can perform an api call filtered on the input (our potential items that need to be available to that dropdown is a very, very large list)

Is this possible at the moment?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
seveibarcommented, Apr 7, 2020

I’ll add some contributing/development info on the wiki tonight 😃 Yes the main way to run the test the library is with yarn storybook (it runs react storybook). It lets you put in different states of the component and see how they look in a browser.

1reaction
stajahleecommented, Apr 7, 2020

As for the

  1. Optional Header Buttons Yes that seems like something I would be able to work on and contribute. 😃 I would have to get a better understanding of the tools here though (storybook / do I see typescript?), where I’ve never used storybook, just straight react js so far.
Read more comments on GitHub >

github_iconTop Results From Across the Web

[Autocomplete] Not refreshing options (used with async calls)
Hi, I was losing my mind trying to figure out why certain options, retrieved through asynchronous requests, were not rendered. In order to...
Read more >
MUI async Autocomplete and react-hook-form - Stack Overflow
I have a multi-step (2) form that uses Material UI and react-hook-form. On the first step, I ask for a string input (Q1)...
Read more >
Using Angular 6 Material Auto-complete With Async Data
Let's say I want to choose a user from a list of registered user stored in a server, or to.. just enter an...
Read more >
react-async-autocomplete - npm
React Async Autocomplete. This autocompleter will display options and react to keypress (up, down, enter, esc).
Read more >
Place Autocomplete | Maps JavaScript API - Google Developers
You can create an AutocompleteService object to retrieve predictions programmatically. Call getPlacePredictions() to retrieve matching places, or call ...
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