How to pass Enumerations in dynamically to dropdown
0
Hello, In my project, I have three enumerations named "Enumeration1", "Enumeration2", and "Enumeration3". I also have three buttons with these names and a dropdown. When I click on "enu2 - button", I want the corresponding values from that enumeration to appear in the dropdown. Similarly, when I click on "enu1 - button" or "enu3 - button", their respective values should be displayed in the dropdown.
asked
Venkatajalapathy P
3 answers
0
You can accomplish this by creating a non-persistable helper entity around the buttons and dropdown. You will however need 3 seperate dropdowns, which you can then toggle with conditional visibilty (based on the button on top).
answered
Davy Heutmekers
0
Hi Venkatajalapathy P,
You can add three seperate buttons for drop down .Based on the enum given the visibilty to the three drop down buttons.
answered
Pragadeeswaran Sivakumar
0
Hi Venkatajalapathy P,
Added three dropdown buttons ,in the three buttons based on the enum value add visibility condition
Button ------>Visibility -----> Based on Attribute Value
select these for three buttons based on te enum value