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 / Validate Modern ComboBox
Power Apps
Unanswered

Validate Modern ComboBox

(1) ShareShare
ReportReport
Posted on by 19

Hi,

Today I encountered an issue regarding a ComboBox validation. This ComboBox is a required value, and I've tried to validate using IsBlank() y/o IsEmpty(), but I only get this to be true when I manually click on it and select and unselect an option. How can I approach this? Thank you.

 

 

Also, if needed, here's my DefaultSelectedItems code:

If(locNewMode, {Value: ""},{Value: LookUp('Customer List', 'Customer ID' = RecordsGallery1.Selected.'Customer ID', Customer Name)})

 I'm using 'locNewMode' to change the DisplayMode's control property.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @Tatiana21 - the answer depends on:

     

    1. Your data source (SharePoint, Dataverse, SQL etc)
    2. The data type for the "Customer Name" field (Single Line Text, single-select Choice, LookUp etc)
    3. What you have in the Items property of that ComboBox
  • Tatiana21 Profile Picture
    19 on at

    Hi, @Amik 

    Regarding your questions:

     

    1. The data source is SharePoint.

    2. The data type for 'Customer Name' is Single line of text.

    3. In the items property I just have the list 'Customer List'.

     

     

    Thank you.

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @Tatiana21 -  consider replacing the DefaultSelectedItems property with:

     

    LookUp(
     'Customer List',
     'Customer ID' = Parent.Default
    )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard