I have an application with radio buttons on two screens. This is happening with both screens. When I select the back button or hit the app icon in the header, the screen opens but the radio buttons don't show anything selected. The data in the data grid is filtered as expected.
When I look in Edge, I can see that the option is checked, even though it's not showing on the screen.
Any suggestions would be appreciated!
Hi @Donna Williams ,
Please try below
create a local variable and use it for radio group.
on the OnInitialize event of the page assign the value in the client variable to local variable which is used for radio group.
while navigating back or moving forward assign the value from local variable to client variable.
Always reset the client variable to default value in OnInitialize of app landing page.
Thanks&Regards,
Surya
Hi @Donna Williams,
If you need to set a default selected radio button, use a local variable for the radio group. You can assign the value from the client variable to the local variable on Oninitialize of the screen for the selection. Additionally, make sure to reset the client variable to its default value when navigating to that page to ensure a consistent state.
Hope this helps
Thanks
Hi,
You can refer to the forum discussion. Hope it helps.
https://www.outsystems.com/forums/discussion/93265/how-to-create-a-radio-button-and-how-to-stored-the-value/
Thank you.