[Autocomplete] Multiple async selection + react-hook-form causes inconsistent view #44553
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
Steps:
Current behavior
Expected behavior
Context
I'm implementing an async type ahead using the Autocomplete component and react-hook-form. While for the static standard/multiple implementation it was quite straight, I'm dealing with the following issue for the async multiple case.
The value looks not consistent between the Form and the view.
Besides the debounce logic that can be simplified, I tried also to save the selected values
onChange
in a new state to simultaneously maintain value and options, but I'm still not able to see the selected options in the autocomplete.Your environment
Running on a nodebox.
Search keywords: autocomplete, multiple, react-hook-form
The text was updated successfully, but these errors were encountered: