elm-select icon indicating copy to clipboard operation
elm-select copied to clipboard

Add custom attributes to options

Open Confidenceman02 opened this issue 9 months ago • 0 comments

Currently the attributes on options are managed and it's not possible to add any custom attributes to the option.

For example, given a Native variant we might like the items to look more like the following:

<option value="1" data-price="1.50">mushrooms</option>
<option value="2" data-price="1.25">onions</option>
<option value="3" data-price="1.75">peppers</option>
<option value="4" data-price="2.00">pineapple</option>

Confidenceman02 avatar May 10 '24 04:05 Confidenceman02