cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

change toggle display mode after switching to on

I have a toggle i am going to use to start the approval proccess linked to a Yes/No field in a SharePoint Online field.  I want this toggle to be disabled once slide to yes, because of the processes linked to this field.  I tryed setting the OnCheck to "tglSubApp.DisplayMode=DisplayMode.View" and just "DisplayMode.View". Neither had any affect on the toggle.  I do not want to hide the toggle just disable it from changing once switched to 'Yes'. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate III
Advocate III

Re: change toggle display mode after switching to on

I figured it out.  Set Toggle displayMode to: If(tglESubApp.Value=true, DisplayMode.View, DisplayMode.Edit)

View solution in original post

1 REPLY 1
Highlighted
Advocate III
Advocate III

Re: change toggle display mode after switching to on

I figured it out.  Set Toggle displayMode to: If(tglESubApp.Value=true, DisplayMode.View, DisplayMode.Edit)

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

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