Hi Guys,
I have a simple radio button with two options (Yes, No), the items come from this formula
Table({key:"",value:"No"},{key:"",value:"Yes"}),
I am just wondering how can I set a default value for the radio button since I have key and value parameters as shown,
I appreciate your help
Hi @Fado
Please check this sample app
This the code used and screenshot
Items property of Radio =
Table({Key: "Yes", Value:1},{Key: "No", Value:2})
Default property of Radio =
"Yes"
If your using a patch add this at end of the patch
Reset(YourRadiobuttonName)
@Fado ,
I am having trouble pasting an image in that post, so I will do the lot again - Default
Items - before I set the Default (I tested with a manual input)
I then reset the control in the first image.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
radio button control Default Use "Yes" or "No" whichever you need to be default
Thank you, but how did you set the default value for the radio button control, please can you show me the formula
Hi @Ramole I mean hiding the label of the radio button if I use ["Yes", "No"] in item property,
@Fado ,
I actually tested it here before I posted and using a multi-field table in a Radio control like you have is unusual
Items
Default
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Fado
Sorry I didn't understanding you question, can you please tell me what you need to hide and so on, for example do you need to hide the text label like not to show on the screen ?
Thank you for the reply, this will work but I have one issue, I can't hide the text "Yes" and "No" in the radio control
as shown in the attached due to the fact of this I used a table instead.
Thanks
MS.Ragavendar
20
BCBuizer
10
Super User 2025 Season 1
LC-26081402-0
10