You need to sign in to do that
Don't have an account?
ForceRookie
How to populate combobox with Objects dynamically?
Can someone help me how to populate a combobox with Objects?
Please, I’m new to Lightning.
<lightning:combobox type="text" aura:id="object" name="object" placeholder="-Select-" options="{!v.objects}" onchange="{!c.handleChange}"/>
In lightning combobox,
options Attribute - array of objects (Each object contains label and value)
value Attribute - object (Specifies the value of an input element).
Reference link : https://developer.salesforce.com/docs/component-library/bundle/lightning:combobox/specification
Thanks,
https://rajvakati.com/2018/05/10/usage-of-lightningcombobox/