Skip to content

[combobox] Question regarding the implementation of an asynchronous combobox #2677

@with-key

Description

@with-key

Hello
I sincerely thank you, baseui.

I am implementing an asynchronous combobox based on the “auto complete” reference. I have two questions.

  1. Why does the input value become an empty string when the popup closes? It changes to an empty string, causing the value to be lost.

  2. When using the "controlled components", the value does not allow undefined. Should I use null instead

👇 I'm attaching the code.
https://codesandbox.io/p/sandbox/nifty-sun-jyrddp

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: comboboxChanges related to the combobox component.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions