Skip to Content
0
May 12, 2020 at 08:43 AM

show/hide field based on radio button press in sap ui5.

865 Views

hi all,

i have a requirement in which there are two radio buttons (RB1 , RB2) and two fields (F1 and F2).

on clicking radiobutton RB1 field F2 must hide and only field F1 should show.

like that on RB2 only field F2 should show.

my view is of type XML .

how should i write code to get this functionality?