Here is an image of it. I want the default value to be Open when the toggle is selected as yes.
Asked
Active
Viewed 546 times
1 Answers
0
Change the Default setting for the dropdown control to a formula along these lines:
If(MyToggle.Value=true,"Three","One")
If the control is a Combobox, which is what's used for a SharePoint Choice column, then the items are records, not just a list of text. For a combo box you need to change the property for "DefaultSelectedItems" and set it to something like this:
If(MyToggle.Value,{Value:"Three"},Parent.Default)
Make sure that the value you are using is a valid one according to the SharePoint choice column definition.

teylyn
- 34,374
- 4
- 53
- 73
-
If that resolved your issue, please mark the answer as described in the [tour]. If it didn't, please leave a comment, so I can follow up. – teylyn Jul 27 '21 at 21:57
-
Is it a dropdown or a combo box? Because the above works just fine with a dropdown. – teylyn Jul 28 '21 at 20:30
-
It's a choice list from a sharepoint list. – BiGeek Jul 28 '21 at 20:46
-
1Yeah, you said dropdown. A Sharepoint Choice field does not use a dropdown control. That's a combo box. Give me a moment and I'll update my answer. – teylyn Jul 28 '21 at 21:12
-
I added the details for a combo box to my answer. – teylyn Jul 28 '21 at 21:22
-
See [Choice columns here](https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/) – SeaDude Jul 30 '21 at 04:08