cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndyB
Regular Visitor

Limit Dropdown Choices

 

In SharePoint, I have several Choice fields with Allow ‘Fill-in’ choices set to No. These work as expected in that the user can only select an option from the available choices.

SP.png

However, when I create an auto-generated app from this list, the resulting PowerApps Drop downs do not seem to behave correctly. In this case, the user can not only select an option from the list but they are also free to type into the Drop down. I realise this allows type ahead to aid selection when there are many items to select from, but it can cause an issue if the user does not select a valid result or continues typing onto the end of a selection.

 

Is there any way to limit entry in a Drop down to only those items in the list? The sort of behaviour exhibited when a Drop down is manually added to a form.

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @AndyB,

 

I have created the same and it is true that with the auto-generated dropdown control, you can type and it will search for the result accordingly. I don't think that you need to worry about that the user does not select a valid result or continues typing onto the end of a selection. If the result doesn't match any of your choices, then it will just display o rsults and you cannot select anything at all.

Capture.PNG

 

I understand that with a new dropdown control, it won't allow to input anything actually. But you could see from the tab after selecting the dropdown PowerApps created, it is named as "Lookup".

Capture.PNG

 

I have compared it with dropdown control, the properties are quite different. And it seems that we cannot create this "Lookup" control by outselves.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @AndyB,

 

I have created the same and it is true that with the auto-generated dropdown control, you can type and it will search for the result accordingly. I don't think that you need to worry about that the user does not select a valid result or continues typing onto the end of a selection. If the result doesn't match any of your choices, then it will just display o rsults and you cannot select anything at all.

Capture.PNG

 

I understand that with a new dropdown control, it won't allow to input anything actually. But you could see from the tab after selecting the dropdown PowerApps created, it is named as "Lookup".

Capture.PNG

 

I have compared it with dropdown control, the properties are quite different. And it seems that we cannot create this "Lookup" control by outselves.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @v-monli-msft,

 

Although they look similar and operate in a similar fashion, it had not occurred to me until now that Drop downs and Lookups are two different objects.

 

You are correct that not selecting a valid result or continuing typing onto the end of a selection will just display 0 results, which I can mitigate somewhat by making the Choice field in SharePoint require an entry. This flags an error in PowerApps and stops the user proceeding unless they choose a valid option.

 

The other issue I have with the current mode of operation for Lookups is that on a mobile phone, clicking on a Lookup brings up the keyboard, which is not always welcome. Drop downs of course do not.

 

Hence, it would be good to have the option to make a Lookup operate like a Drop down. A feature request perhaps?

Hi @AndyB,

 

You are right, I also think that this "Lookup" is quite useful and I think it would be greate if it could be added as controls. Please add an idea in below forum and expect for others' vote on it.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,212)