Controlling NextUI Autocomplete Component doesn't work with async filtering

30 views Asked by At

I have encountered a problem with the NextUI autocomplete component. I am trying to control the selectedKey following the docs here. Controlling the component works as expected for a synchronous component. However, as soon as I introduce asynchronous filtering, controlling the component stops working. Has anyone else encountered this issue? Does anyone have any advice?

You can see the issue in action in my codepen here

0

There are 0 answers