Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ngB+NrOimfE5USwkwHOzJP
Power Apps - Building Power Apps
Answered

How can i allow combox empty selection -modern control

Like (0) ShareShare
ReportReport
Posted on 20 Mar 2024 11:22:50 by 2

Zoe2_0-1710933589062.png

No matter what I choose, there is always a value in the combo box, and it doesn't seem to be allowed to be empty. How do I set it up, modern control

  • Verified answer
    v-mengmli-msft Profile Picture
    on 25 Mar 2024 at 05:45:18
    Re: How can i allow combox empty selection -modern control

    Hi @Zoe2 ,

     

    You can create a collection to save all choices firstly and use Collect to add a blank choice to the collection.

    Please try this.

    1/OnVisible of Screen.

    ClearCollect(COL,Choices('Segment (HCP Segmentation)'));
    Collect(COL,{Value:""})

    2/Items of combo box.

    COL

     

    Best regards,

    Rimmon

  • Zoe2 Profile Picture
    2 on 21 Mar 2024 at 02:17:51
    Re: How can i allow combox empty selection -modern control

    Thank you!This is a choice field, and it seems like the method you provided is not quite suitable

     

    Any Other solution?

     

    Zoe2_0-1710987418053.png

     

  • v-mengmli-msft Profile Picture
    on 20 Mar 2024 at 12:18:46
    Re: How can i allow combox empty selection -modern control

    Hi @Zoe2 ,

     

    You can add a blank item to Items of combo box.

    For example.

    vmengmlimsft_0-1710937039252.png

    If you have create a collection for the Items of combo box, you can use Collect to add a blank item.

    Collect(COL,"")

     

     

    Best regards,

    Rimmon

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,075 Most Valuable Professional

Leaderboard
Loading started