cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Finnair
Resolver I
Resolver I

How to update a dropdown value to default after submit?

I have a PowerApps Canvas Mobile Application. I have a dropdown Company.SelectedText.Value in my Send button's RUN formula and passing the value works fine. 

Choices are in dropdown's Items: All, Company A, Company B. Default = All.

 

After the submit I want to set it to default value, All. I have tried UpdateContext and Set commands without errors but with no desired result: It doesn't set the value to All. 

 

What would be the right format?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Finnair ,

Put this on the end of your Save

UpdateContext({varReset:false});
UpdateContext({varReset:true})

Then the Reset of your drop-down

varReset

 

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.

View solution in original post

3 REPLIES 3
rubin_boer
Super User
Super User

hi @Finnair add a reset the dropdown in the OnSelect = Reset(yourDropDown)

 

hope it helps

WarrenBelz
Super User
Super User

Hi @Finnair ,

Put this on the end of your Save

UpdateContext({varReset:false});
UpdateContext({varReset:true})

Then the Reset of your drop-down

varReset

 

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.

@WarrenBelz  Thank you, that's it

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,428)