Salesforce Fact #798 | Getting selected label from lwc combobox
While using lightning-combobox, we can get the selected option value using event.detail.value, but not the label.
To get the selected label, we need to use a bit of logic.
Attached is the screenshot.
Comments
Post a Comment