I have an app where there is a text field on the detailscreen. I want it to be a dropdown on the editform. However, I can't get the dropdown to default to the content of the text field on the detailscreen.
LookUp('Alarm locations',Building=DataCardValue4.Text, Facility)
LookUp returns a Record, when Items expects Table.
Try this instead to quickly check it and see if this version works:
Table( LookUp('Alarm locations',Building=DataCardValue4.Text, Facility) )
If you want the dropdown to replace the Text box and only has one option which is the default text.
please try to set Items property of dropdown control as below:
Except that, you need to modify the Update property of data card: Dropdown1.Selected.Value, and Y property of ErrorMessage: Dropdown1.Y + Dropdown1.Height
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.