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

Notifications

Announcements

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,679 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,679 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard