You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have an "sl-select" which has some "sl-options" in it (as one does), and some (or all) of these "sl-options" have an "sl-icon" in the "prefix" slot (could be "suffix" too, I suppose), so that when I popup the select's list, the options show as appropriate in the drop-down. If I select one of the ones with a prefix icon, when the drop-down closes, it appears that the prefix icon is not following the selection up into the select's closed display. In my case, the icons are a a large part of the visual "language" of the app - the same icons get used throughout the app for the same purpose, so losing them seems jarring to me on the "sl-select" but I don't know if that's a general feeling ... I guess it depends on whether the prefix or suffix icons are consider "decoration" or an intrinsic part of the selection... I can certainly listen for "sl-change" and set up the "prefix" on the "sl-select" itself, so there's a way around it, I just wanted to see what other's thought.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I have an "sl-select" which has some "sl-options" in it (as one does), and some (or all) of these "sl-options" have an "sl-icon" in the "prefix" slot (could be "suffix" too, I suppose), so that when I popup the select's list, the options show as appropriate in the drop-down. If I select one of the ones with a prefix icon, when the drop-down closes, it appears that the prefix icon is not following the selection up into the select's closed display. In my case, the icons are a a large part of the visual "language" of the app - the same icons get used throughout the app for the same purpose, so losing them seems jarring to me on the "sl-select" but I don't know if that's a general feeling ... I guess it depends on whether the prefix or suffix icons are consider "decoration" or an intrinsic part of the selection... I can certainly listen for "sl-change" and set up the "prefix" on the "sl-select" itself, so there's a way around it, I just wanted to see what other's thought.
Beta Was this translation helpful? Give feedback.
All reactions