web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Modern control - Can't...
Power Apps
Unanswered

Modern control - Can't set radio button/Combobox blank

(0) ShareShare
ReportReport
Posted on by 65

Hello everyone, 

I tried to set reset/blank radio button or combobox but I can't do that at all

logost1agow_0-1697055798386.png


Is it really impossible to do this now? If I put 'blank' it creates another option with a valueless marking as the image above

Thank you in advance!

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,603 Super User 2025 Season 2 on at

    Hi @logost1agow 

     

    I just tested it and it worked

    Reset(RadioGroupCanvas1); Reset(ComboboxCanvas1)

     

    SpongYe_0-1697056110779.png

     

    Have you use Reset()?

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

     

  • logost1agow Profile Picture
    65 on at

    Thanks for the answer @SpongYe !

    Let me be more specific

    When you set defaultselectitems on that fields, for example if I set defaultitems to something for edit, like [varEdit] When it have value, it works fine, but when it's blank, it shows blank item like the image I sent here.

    It doesn't just leave the field blank, it creates a 'blank item'radioProblem.gif

     Button is to reset fields

    In Items are [1;2;3;4;5], On defaultselecteditems I set, as you can see old radio works fine, but in modern one It doesn't

    logost1agow_0-1697066835046.png

     

  • SpongYe Profile Picture
    5,603 Super User 2025 Season 2 on at

    Hi @logost1agow 

     

    Im trying to recreate the problem here and so far I don't have the same issue. 

    I created the variable varEdit:

    UpdateContext({varEdit: [1,2,3,4,5]})

    Then in my RadioGroupCanvas I have at .Items:

    [1,2,3,4,5]

    At .DefaultSelectedItems I have set:

    varEdit

    SpongYe_0-1697116957506.png

     

    Now I have 2 buttons want 1 to fill varEdit and 1 to reset RadioGroupCanvas and everything works fine. 

    Am I missing something?

  • logost1agow Profile Picture
    65 on at

    Hello @SpongYe 

    Thanks for helping

    I tried use just local numbers as a test like you, and It really works

    But I'm taking gallery item that come from sharepoint, that number come from sharepoint column and It doesn't work

    Numbers from that column vary between 1-5, so that varEdit is for edit these numbers as radiocontrol
    When DefaultSelectedItems has values It works fine, but when It's blank (for example, when user need to create a new item, not editing) I have that problem

    I'm using this code in DefaultSelectedItems [Value(varEditFauna.'Escore corporal')], but I tried different ways and It still not working  😞

  • danielchalkley Profile Picture
    13 on at

    @logost1agow I am having the exact same issue. Did you manage to resolve this by any chance?

  • logost1agow Profile Picture
    65 on at

    Hey @danielchalkley 

    I made a collection of items, like this (ClearCollect(col_habVoo;["0";"1"; "2"; "3"])) so on DefaultSelectedItems I put LookUp(col_habVoo; Value = default.value), and on On Visible of screen I put reset(radio) to reset the field

    It works for me 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard