In the SLDS documentation, it is stated the possibility to have a combobox with grouped options.


It is possible to achieve a similar result with the lightning aura component lightning:combobox?

In the specification of lightning:combobox is clearly stated that the options attribute is a list of objects that have the properties label and value only and there are no other attributes that suggest the use of something like groups. I'm hoping that I missed something or that there is a workaround to achieve what I want without having to write a custom combobox component.


No, you'd have to write your own component. There's no "grouping" feature available in the library lightning:combobox.

  • Sadly you confirmed my belief. – gvgramazio Jun 4 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.