web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Updated modern combobo...
Power Apps
Answered

Updated modern combobox control missing uncheck property

(0) ShareShare
ReportReport
Posted on by 57
Hello all!
 
I was doing some testing with the updated modern controls and noticed what seems like a significant issue. When unchecking an item in the updated combobox, the OnChange action is triggered, but the associated record is incorrect.

For example, if you were perhaps adding items to a local collection as they are selected from the combobox, if you then uncheck a a previously selected item, there is no way to identify (and then remove) that item from the collection. It appears that (for example) Self.Selected.ID ends up referring to the last item that was checked and not the item that was just unchecked.

On a related note, there is no way to distinguish the OnChange trigger from checking/unchecking items and the clear items ("X"). You can work around this however if (as in my example) you wanted to clear the entire collection if the "X" is selected, by using something like this: 
If(IsBlank(First(Combobox1.SelectedItems).ID), Clear(colComboBoxItems))
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    Hello @SteveAtTCH
     
    This is a known limitation with the modern or classic ComboBox control. However, there is currently no property exposed that tells you which specific item was unchecked.
     

    When an item is unchecked, OnChange fires, but Self.Selected does not reference the item that was just removed. It typically points to the last selected item, which makes it impossible to directly identify which record was unchecked.

    Currently, there isn’t a property that tells us whether the change was an add, remove, or clear action. Because of that, any required logic has to be written inside the OnChange property

    On Change Property - you can try below code: 

    If(
        IsEmpty(Combobox1.SelectedItems),
        Clear(colComboBoxItems),
        ClearCollect(
            colComboBoxItems,
            Combobox1.SelectedItems
        )
    )
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard