on 10-28-2015 4:08 PM
HI
I've radio button group (one on top other) and under that drop down box that when user click on second
radio it open the dropdown box with value (otherwise it disabled) ,can this be done via new UI5 control
with extend and aggregation ?
Thanks
Miley
Hi Miley.
Try to execute this steps:
Step 1 : Create all your RadioButtons within a RadioButtonGroup.
Step 2 : Listen to the select event of the RadioButtonGroup (and not RadioButton)
Step 3 : Use an event handler similar to this for the select event :
And use this code.
select : function() { var oSelected = oRadioButtonGroup.getSelectedItem(); if(oSelected.getKey() == "<key_of_limited_liability_radiobutton>") { oComboBox.setEnabled(true); } else { oComboBox.setEnabled(false); } }
Best regards
Ricardo Pereira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.