Reputation: 25
In my Power App, I am using a Combo Box to allow users to select an option from a choice column in the connected SharePoint list.
Instead of the Combo box showing the different options that it should, it shows a large blank list with several hundred values. The same thing happens when I try to use a regular Drop Down.
I have tried deleting the Combo box, and the SharePoint column, and starting again but neither solved my issue.
The SharePoint column in a regular Choice column with two values, and the formula inside the combo box is 'Name of List"."Name of Column"
Here is what the Drop Down looks like currently, like I said above it should only have 2 values, but instead is showing hundreds of blank values.
Upvotes: 0
Views: 9782
Reputation: 161
In my case, I also faced same issue, we need to delete the control and add control again solved this problem.
Upvotes: -1
Reputation: 145
The trick worked for me is to change the isSearchable property back and false, then the choice values will appear magically.
Upvotes: 1
Reputation: 1
When we add 'Name of List'.'Name of Column' formula to ComboBox's Item property (**Ex: 'CM_Account Master'.'Account Name'**
),
We have to set 4 more properties also,
After setting "DisplayFields" you can able to view results instead of a blank dropdown list.
Upvotes: 0
Reputation: 981
I think there is a misunderstanding going on here.
What you are trying to achieve is getting the the options the users are allowed to choose from in this field (e.g. the options set when you created the column).
By referencing the choice column of the SharePoint list like you did 'Name of list'.'Name of Column', you are telling PowerApps to fetch all rows from the SP list and show the actual values form your choice field. They're probably empty because the rows preexisted before you added the choice column.
My suggestions
Upvotes: 1