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

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow