Skip to content

[馃悶] After selecting an item in Combobox, an object is set in input instead of text#1184

Description

@Sebosek

Which package is affected?

Headless Kit

Describe the bug

Hi, I am working with combobox in headless mode, however, when I select an item from popover, the value in text input is set to [object Object] instead of text representation.

Please have a look into repro repo. The example is in the index.tsx.

Image

Reproduction

https://github.com/Sebosek/qwik-ui-stackblitz/tree/Sebosek/patch-96525

Steps to reproduce

No response

System Info

npx envinfo --system --npmPackages '{vite,undici,typescript,@builder.io/*,@qwik-ui/*}' --binaries --browsers

  System:
    OS: Windows 11 10.0.26200
    CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics         
    Memory: 252.11 MB / 15.37 GB
  Binaries:
    Node: 22.20.0 - C:\Users\ja\AppData\Local\Volta\tools\image\node\22.20.0\node.EXE
    Yarn: 1.22.19 - C:\Users\ja\AppData\Local\Volta\tools\image\yarn\1.22.19\bin\yarn.CMD
    npm: 10.9.3 - C:\Users\ja\AppData\Local\Volta\tools\image\node\22.20.0\npm.CMD
    bun: 1.2.17 - C:\Users\ja\AppData\Local\Volta\bin\bun.EXE
  Browsers:
    Chrome: 150.0.7871.187
    Edge: Chromium (151.0.4129.59)
    Internet Explorer: 11.0.26100.8115
  npmPackages:
    @builder.io/qwik: ^1.20.0 => 1.20.0 
    @builder.io/qwik-city: ^1.20.0 => 1.20.0 
    @qwik-ui/headless: ^0.7.7 => 0.7.7 
    typescript: 5.4.5 => 5.4.5 
    undici: ^8.3.0 => 8.3.0 
    vite: 5.3.5 => 5.3.5

Additional Information

I am not that familiar with Stackblitz, so I've unintentionally create PR, but not really sure if it's what I should or should not do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions