How to do an optgroup in a dropddown list

So i need to add optgroup whithin a list and a dropdown list, but unfortunately i couldn’t find any tutorial or anything else related to this. here is what i mean: https://www.w3schools.com/TAGs/tryit.asp?filename=tryhtml_optgroup

any clues or examples?

best regards

1 Like

Hello! It sounds like you’re looking to build a custom droplist. The tutorial below should help to get you started:

https://www.axure.com/support/training/custom-droplist-tutorial

Hopefully that helps!

Can I second the need to have this functionality as standard. It’s in the html spec, and the html that you output could handle it. Having to build a custom dropdown to implement it is a huge chore. I don’t want fancy coloured styling, just basic behaviour that the browser already knows how to achieve if it can be given the correct mark-up.