You need to sign in to do that
Don't have an account?
Karan Kehar
Fire Event when you select a value in the selectedvalues list in duallistbox
Hi,
I have created a lightning component which has a lightning:duallistbox in it.Now when I select a value on the selected values list on the right side, I want a modal to be displayed which shows some sort of details of the selected value.
For example, in the above image when I select "test Redpath Sugar", I want to open a modal which shows some details of the selected entity. I have tried document.getElementsByClassName("slds-is-selected") which is returning array of 0 length.
Has anyone trying to achive this ? Any help would be greatly appreciated.
Thanks,
Karan
I have created a lightning component which has a lightning:duallistbox in it.Now when I select a value on the selected values list on the right side, I want a modal to be displayed which shows some sort of details of the selected value.
For example, in the above image when I select "test Redpath Sugar", I want to open a modal which shows some details of the selected entity. I have tried document.getElementsByClassName("slds-is-selected") which is returning array of 0 length.
Has anyone trying to achive this ? Any help would be greatly appreciated.
Thanks,
Karan
A list of default options that are included in the selected options listbox. This list is populated with values from the options attribute.
Thanks for the reply, but onchange will fire when I move a value from left to right. But I want some sort of event when I just select(highlighted in blue) a value on the right side list(selected options) and not move it.