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 / Unable to reset a comb...
Power Apps
Unanswered

Unable to reset a combobox in a form control

(1) ShareShare
ReportReport
Posted on by

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
    153,079 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
    153,079 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
    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

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard