Open amin101 opened 8 years ago
Same problem here. Trying to get it work for a couple of hours...
Were you able to solve it?
no unfortunately
I've been troubleshooting this and I finally got it. If you add these changes to the JS file (https://github.com/hernansartorio/jquery-nice-select/pull/18/files). Then on your html, add a count on each optgroup add data-i="1", etc. I included a jsbin link below.
jsbin link: http://jsbin.com/riguvaj/1/edit?html,css,js,output
thanks, but would be nice to use UL LI not div span ;)
https://jsfiddle.net/sharmamehu01/pxsmqu8y/ maybe this will help you thank me later.
https://jsfiddle.net/sharmamehu01/pxsmqu8y/ maybe this will help you thank me later.
Thanks, this is what I looking for.
I have a select menu containing items like :
but only
option
s are displaying in list and nooptgroup
label is showing