Hi Team, I am facing an issue while using radio buttons in editable gridLay

Hi Team,
I am facing an issue while using radio buttons in editable gridLayout. Radio button selections are not getting refreshed, we have tried attached code snippet. As per my observation, when I try to display the local!itemsToken array in From Layout/Grid Layout's Label then the radio button selections work fine else it is not updating the selections.

Could you please advise? Any help is appreciated!

Interface.txt

OriginalPostID-162023

OriginalPostID-162023

  Discussion posts and replies are publicly visible

Parents
  • If the radio button value is part of local!items array (say boolean variable isActive) then you can use something like this below.
    a!radioButtonField(
    label: "select " & ri!index,
    choiceLabels: {"Yes", "No"},
    choiceValues: {true(), false()},
    value: ri!items[ri!index].isActive,
    saveInto: ri!items[ri!index].isActive
    )

    We can help if you provide more info on what you are trying to achieve.
Reply
  • If the radio button value is part of local!items array (say boolean variable isActive) then you can use something like this below.
    a!radioButtonField(
    label: "select " & ri!index,
    choiceLabels: {"Yes", "No"},
    choiceValues: {true(), false()},
    value: ri!items[ri!index].isActive,
    saveInto: ri!items[ri!index].isActive
    )

    We can help if you provide more info on what you are trying to achieve.
Children
No Data