cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Stop default status of alert is visible

Hi

I have a slight variant on a solution here, and it is working well other than on opening the app the alert "Value can not be more than the amount ordered" is displayed before I enter in any values. Hopefully, my screenshot explains.

Screenshot 2020-02-23 16.18.54.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

@Corissandageri 

You probably need to set the variable for that label to false when this screens becomes visible, ie

 

Screen1.OnVisible = UpdateContext({ ShowErrorMsg: false })

 

This gets added to any other code already there. At some point, the variable was likely set to true and never reset? You could also add this code after the Patch().

View solution in original post

3 REPLIES 3
Super User
Super User

@Corissandageri 

You probably need to set the variable for that label to false when this screens becomes visible, ie

 

Screen1.OnVisible = UpdateContext({ ShowErrorMsg: false })

 

This gets added to any other code already there. At some point, the variable was likely set to true and never reset? You could also add this code after the Patch().

View solution in original post

Thank you, very simple in hindsight. 

Variables have a special way of messing with us, haha. Happy to help 🙂 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (9,885)