AngelaIp
2 years agoIdeator I
How to use CUI Checkboxes and Dropdowns + how get their values from other elements?
Hi Community,
I right now play around with CUI CommandBarCheckboxes and CommandBarDropdowns.
Does anyone of you have worked with these two elements already? I look for a solution how to get the...
- 2 years ago
Hi Angela,
There is an Aras Blog that covers using these 2 CUI elements together that you can find here:
https://www.aras.com/community/b/english/posts/using-cui-dropdownsWhen looking into it they access the value set in the dropdown from the button during the onclick method for the button:
var generationDropdown = control.data.get("labs.part.ivcb.version_selector.dropdown");
var selectedId = generationDropdown.value;Looks like the value is accessed using this helper method "control.data.get" and passing in the string value of the CUI name.