UL List id option #34
-
First off, an awesome little plugin for a multi-selection list. Just a simple idea to add support to the list. Adding the ID to the UL. I know I went through and added it to the js. Might be useful to add an option for adding an id to the list when you initialize.
was about to write in part for a limit to selection (saw it in the discussion), looks like a few others had the same idea. Sample: id.zip |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Or the ul Id could be a derivative of the original select tag Id ?
originalId-ul
I would set an id in both the button part and the menu part (ul) that would
ease access in order to customise css after init
…On 10 Mar 2021 21:28, "Austin" ***@***.***> wrote:
First off, an awesome little plugin for a multi-selection list.
Just a simple idea to add support to the list. Adding the ID to the UL. I
know I went through and added it to the js. Might be useful to add an
option for adding an id to the list when you initialize.
if (self.userOptions.listid != "") {
this.ul.id = self.userOptions.listid;
}
was about to write in part for a limit to selection (saw it in the
discussion), looks like a few others had the same idea.
Sample: id.zip
<https://github.com/PhilippeMarcMeyer/vanillaSelectBox/files/6118685/id.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQTZ65ZU4S5S4MJOWD3OG3TC7JAXANCNFSM4Y62FLPA>
.
|
Beta Was this translation helpful? Give feedback.
-
There is a id in a parent DIV example :
so you can get it with :
Cheers |
Beta Was this translation helpful? Give feedback.
There is a id in a parent DIV
btn-group-{is of the original select tag}
example :
so you can get it with :
Cheers