Trendyol / baklava

Baklava is a design system provided by Trendyol to create a consistent UI/UX for app users.
https://baklava.design/
MIT License
1.28k stars 115 forks source link

Bl Select Multiple doesn't work with value properties in vue 2 #748

Open DamlaDemir opened 11 months ago

DamlaDemir commented 11 months ago

Issue description

When I use multiple bl-select in my vue 2 project I use bl-select event for catching the selected values and I passing the value properties according to this selected values. But it don't work as expected.

Example codesandbox; https://codesandbox.io/p/sandbox/modern-firefly-kvst83?file=%2Fsrc%2FApp.vue%3A13%2C8

Baklava Version

2.3.0

Operating system

Priority this issue should have

High (immediate attention needed)

Please review the checkboxes that are applicable.

ogunb commented 11 months ago

It seems to be converting array to string. We worked around this by setting value prop through a ref. Not the prettiest solution but it works.

Also .prop should be working :value.prop="value" yet it doesn't. I couldn't figure out why.