- Issue created by @JatinGupta40
- Merge request !1027Issue #3523860: Shoe Icon: "Color" and "Size" Dropdowns, Second Option (After... → (Open) created by JatinGupta40
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Thanks for jumping on this, @jatingupta40!
This is technically correct, because it's what the component defined. Fixing it in our components won't prevent other components from outside of XB to do that.
In 📌 Leap ahead of #3493070 in core: SDC `enum` props should have human-readable labels: use `meta:enum` Active (and potentially in core ✨ Enum vales do not have translatable labels Active ) we will allow to provide labels for every enum value, including those enum values that are the empty string.
We still need to figure out if there's any technical reason for not allowing an empty value, which I'm not sure it does exist anymore.
If it does, we would need to updateSingleDirectoryComponent::checkRequirements()
to detect and disallow components that provide those. - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I think this is a duplicate of 🐛 SDC prop of `type: string` with empty string listed in its `enum` results in broken input UX Active .
- 🇮🇳India JatinGupta40
Thanks @penyaskito for clarifying this so well.
Closing this ticket as it is a duplicate of - https://www.drupal.org/project/experience_builder/issues/3503087 🐛 SDC prop of `type: string` with empty string listed in its `enum` results in broken input UX Active