Hi All,
We encountered a challenge with the Radio Button Component. Under certain condition it is loosing or 'forgetting' the selected radio button.
We are using it to display the status in a workflow. Based on the users role and the status the entity is in, only certain options can be selected, so we are adjusting the choices.
Below is a code example what we are doing. As you might see, if you select option 3, it stays only a split second on the UI and then the selection disappears. And yes - we alreadyhave submitted a support ticket to Appian, but it looks like the component will not be changed.
Any suggestions how to overcome this? We have our own ideas, but would like to see first what the community will contribute.(We will publish our version tomorrow).
Thanks
a!localVariables( local!selection:1, local!choices:a!refreshVariable( refreshAlways: true, value: if( local!selection = 3, {1,3}, {1,2,3} ) ), { a!radioButtonField( choiceValues: local!choices, choiceLabels: local!choices, value: local!selection, saveInto: { local!selection }, ), a!textField( label: local!choices, value: local!selection ), } )
Discussion posts and replies are publicly visible
I am interested in the purpose of this :-)
Hi Stefan, The purpose of this from the business perspective is described below. From the meta level, maybe we can raise awareness from Appian considering to fix the component? Or at least provide some solution for the ones in the community facing similar challenges.
Thanks,
Juergen