bytechefhq / bytechef

Open-source, low-code, extendable API integration & workflow automation platform. Integrate your organizations or your SaaS product with any third party API
https://www.bytechef.io
Other
167 stars 18 forks source link

[bug]: filter by label, not value #1274

Open marko-kriskovic opened 1 month ago

marko-kriskovic commented 1 month ago

Describe the bug

When I try to filter a search bar, it filters by value instead of value.

Screenshot from 2024-07-25 13-58-16 Screenshot from 2024-07-25 13-58-27

Steps To Reproduce

  1. add OpenAi component
  2. Go to Create transcriptions Action
  3. click on Language search bar
  4. if you type in 'hr': nothing should be shown, instead of Croatia
  5. if you type in 'cr': Croatia should be shown, instead of nothing

Expected behavior

Filtering by label makes more sense.

Version

latest

OS

ubuntu

Browser

No response

Additional context

No response

F1nn-T commented 1 month ago

Hey @marko-kriskovic, you can assigne me here as well :)

F1nn-T commented 1 month ago

There is already an open discussion on the cmdk GitHub repo. https://github.com/pacocoursey/cmdk/discussions/195

I have currently found only two ways to fix this error:

  1. Remove the value, so the label is used for searching and taken as the value.
  2. Add a custom search/filter.

Both ways don't sound very good to me. If you have any ideas, let me know :)