Open martinmckenna opened 1 month ago
and thanks @yury-dymov for writing this. There's not really great options for autocompletion, but I found this is one of the best ones, even though it's not maintained
Thank you! I'll keep this open for visibility so other folks could find this easier and use as needed
I'm not going to PR this because the project doesn't support typescript, but I added this component to my project, rewrote in in TS and converted it to a React functional component with hooks
Also fixed some issues:
onRequestOptions
is debounced by 150ms (currently not configurable via props but very well could be)ref
from the parent to the inputComponent
you pass, along with good TS support so it knows which props it needs if your custom component has required propsThis isn't perfect. It needs some more polish, but it works great for me so far: