There is certain issue with the cascading of the radio button component. T

There is certain issue with the cascading of the radio button component.
The scenario which doest work is :
1) We have two SAIL components, drop down and radio button, the value of the radio button depend on the dropdown selected.
2) Radio button gets the value initially when we select the drop down field.
3) But now when we choose the radio button and than select the dropdown the radio button doesnt reflect the change.

Note: if we replace the radio button with the checkbox the changes are reflected

I have attached the code for better understanding

RadioButtonIssue.txt

OriginalPostID-199350

OriginalPostID-199350

  Discussion posts and replies are publicly visible

Parents
  • AS a fix we tried to put the radioButton component in the if statement,
    Something like below
    if(isnull(local!radioButtonFieldValue),a!radioButtonField(
    label:"Selected Radio Button",
    choiceLabels:{"Yes","No"},
    choiceValues:{"Yes","No"},
    value:local!radioButtonFieldValue,
    saveInto:local!radioButtonFieldValue
    ),a!radioButtonField(
    label:"Selected Radio Button",
    choiceLabels:{"Yes","No"},
    choiceValues:{"Yes","No"},
    value:local!radioButtonFieldValue,
    saveInto:local!radioButtonFieldValue
    ))
    But its just a workaround, we need better solution for this issue
Reply
  • AS a fix we tried to put the radioButton component in the if statement,
    Something like below
    if(isnull(local!radioButtonFieldValue),a!radioButtonField(
    label:"Selected Radio Button",
    choiceLabels:{"Yes","No"},
    choiceValues:{"Yes","No"},
    value:local!radioButtonFieldValue,
    saveInto:local!radioButtonFieldValue
    ),a!radioButtonField(
    label:"Selected Radio Button",
    choiceLabels:{"Yes","No"},
    choiceValues:{"Yes","No"},
    value:local!radioButtonFieldValue,
    saveInto:local!radioButtonFieldValue
    ))
    But its just a workaround, we need better solution for this issue
Children
No Data