Solved! Go to Solution.
Hi @mpezzutti ,
Could you please share a bit more about your scenario?
Do you want to reset the Radio control within a Gallery from a click of a button which is outside the Gallery?
If you want to reset the Radio control within a Gallery from a click of a button which is outside the Gallery, I have made a test on my side, please take a try with the following workaround:
Set the OnSelect property of the "Reset" button to following:
Set(IsReset, true);Set(IsReset, false)
Set the Default property of the Radio control within the Gallery to following:
If(IsReset, "")
Please check the following GIF screenshot for more details:
Note: Currently, we could not reset a Radio control directly within a Gallery from outside the Gallery.
Best regards,
Hi @mpezzutti ,
Hi @mpezzutti ,
Could you please share a bit more about your scenario?
Do you want to reset the Radio control within a Gallery from a click of a button which is outside the Gallery?
If you want to reset the Radio control within a Gallery from a click of a button which is outside the Gallery, I have made a test on my side, please take a try with the following workaround:
Set the OnSelect property of the "Reset" button to following:
Set(IsReset, true);Set(IsReset, false)
Set the Default property of the Radio control within the Gallery to following:
If(IsReset, "")
Please check the following GIF screenshot for more details:
Note: Currently, we could not reset a Radio control directly within a Gallery from outside the Gallery.
Best regards,
Hi Kris Dai
This worked very well.
Thank you so mcuh you made my day
You are the best!
Enjoy your day! Ciao
Hi @yashag2255
@yashag2255 wrote:Hi @mpezzutti ,
You cannot reset a radio button control inside gallery from the button on Outside gallery using Reset().As a workaround, for doing so, set the default value of the radio button control to below mentioned formula:Expression: If(ResetRadio = true,"")Here ResetRadio is a variable, which will be set to true onSelect button outside gallery.Button OnSelect: Set(ResetRadio,true)Set the ResetRadio variable to false on page visible: Set(ResetRadio,false) so that whenever the page is refreshed, the previous value gets cleared out.
I need this. But, i already have a variable (vResponds) set into the Default property of the Radio Control that inside a Gallery?
How can i use the If(ResetRadio = true,"") Expression along side with my Variable (vResponds) in the Radio Control Default Property together?
Thanks,
pytbyt
Hi @PytByt
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
259 | |
217 | |
76 | |
38 | |
34 |
User | Count |
---|---|
331 | |
224 | |
125 | |
71 | |
55 |