Question
Radio Button not saving the value for page
a!localVariables(
local!isChanged:a!refreshVariable(
value: ri!isChangesMade,
refreshOnReferencedVarChange: false),
a!formLayout(
contents:{
a!buttonLayout(
accessibilityText: "Select a Type of Service",
secondaryButtons:{
},
)
}
)
}
),
a!radioButtonField(
label:"Do you want to make changes to any services?",
choiceLabels:{"No","Yes"},
choiceValues:{false,true},
value:local!isChanged,
saveInto:local!isChanged,
),
if(
local!isChanged,
rule!SS_ui_serviceGrid(
),
{}
),
},
)
)The Interface has different services listed at the top of the form. If I select one service, select 'Yes' for radio buttons, and make changes to the grid and go to other services. when I come back to the previous service, the changes are not getting saved. I tried using the refresh variable but it is not working. Any suggestions to resolve this issue.