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