New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copy attributes from original select #19
Comments
Done ! it's v 0.55 |
GREAT!!! It might be a good option to put the text inside the LI into a span, giving it more options for adding custom styling |
Experiment my friend ! :-)
I'd be happy to hear about you whenever you want
Cheers
Philippe
Le lun. 23 nov. 2020 à 08:05, HH-kkuijk <notifications@github.com> a écrit :
… GREAT!!! It might be a good option to put the text inside the LI into a
span, giving it more options for adding custom styling
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQTZ65A7VZX4SAZPJIEE53SRICTTANCNFSM4T4UZLMQ>
.
|
Hi Phillippe, I mean that it would be great to have the cloned dropdown filled with a span. This is the code that is generated now: I would suggest putting the text in a span, the generated html would be like: This way there are more option for styling because you can use the li:before and li:after but also li > span:before and li > span:after |
Would it be possible to copy all attributes from the original select options to the new one, for example. If I have added data-color="#ff0000" to an option in the original select, I would like to see that value copied to the cloned select option. It would be nice if not only data-attr would be copied but any kind of attribute in the option html.
The text was updated successfully, but these errors were encountered: