Following my post about migrating from the Classic Controls to Modern Controls, today a bit of a closer look at the Modern Combo box.

The Differences between Classic and Modern Combo box

As mentioned yesterday, there are a few differences between the Classic and the modern Combo box. I will have a look at the two controls.

From the screenshot below we can see that the default look and feel of the modern control is better, however we could make the classic control look fairly similar to the modern equivalent.

The Classic Combo box and the Modern Combo box
The Classic Combo box and the Modern Combo box

So I’m not going to spend too long on the look and feel of the controls. As with all other modern controls you can adjust the look and feel using the Appearance property.

Number of items

When I first started working with the Modern controls I noticed one limitation that I’ve not found a good workaround for.

I’m putting the controls to the test by creating a collection of 10000 records that contain a number sequence. The modern control will show the first 8 items in a drop down.

A vertical list with a highlighted top row labeled '1' and numbered rows from '2' to '8' below, enclosed in a bordered rectangle.
Modern Combo box limitations in Power Apps 1

While the modern control shows as many items as fit on the screen. This is personal preference as to what is better.

A user interface displaying a search bar labeled 'Find items' and a vertical list of numbers from 1 to 24.
Modern Combo box limitations in Power Apps 2

But if we scroll down the list we will see that there is a bigger difference to be aware of. The classic Combo box shows all 10000 items.

A scrollable list showing numbers from 9993 to 10000, with the number 9993 highlighted.
Modern Combo box limitations in Power Apps 3

However the modern Combo box control shows only the first 800 items.

A digital interface displaying a list of numbers from 777 to 800, with a search bar labeled 'Find items' above the list.
Modern Combo box limitations in Power Apps 4

And as we can see from the following example the items past the first 800 are just ignored even though they do exist.

Modern Combo box only showing 800 items
Modern Combo box only showing 800 items

So when you have Combo boxes with many items you may want to have a look at the classic control instead.


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.