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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to reset a comb...
Power Apps
Unanswered

Unable to reset a combobox in a form control

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

On unchecking a checkbox in a gallery (which is inside a form), i need to reset a combobox (SharePoint single choice field) to a blank value. I have set the RESET property of the combobox to TRUE and added the below code while unchecking the checkbox :

Set(ResetDataCardValue1,true);Set(myDataCardValue1, {Value: Blank()});

 

And i have set the DEFAULTSELECTEDITEMS to If(ResetDataCardValue1,{Value: myDataCardValue1}, Parent.Default). its not working.

 

I also tried If(ResetDataCardValue1,{Value: ""}, Parent.Default), If(ResetDataCardValue1,{Value: [""]}, Parent.Default) still not working.

 

Please suggest solution

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @Anonymous ,

    The OnUncheck of the Checkbox

    Set(ResetDataCardValue1,false),
    Set(ResetDataCardValue1,true)

    Make the Reset of your Combo Box

    If(
     ResetDataCardValue1,
     {Value: Blank()}, 
     {Value:ThisItem.YourFieldName}
    )

     

    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

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your reply but before i saw your message, i went with a different solution approach (by replacing the choice column with a single line of text.) so on and so forth.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard