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

Community site session details

Session Id : +ohogzDoRWNrukr5W3DxIm
Power Apps - Building Power Apps
Answered

Combobox Default

Like (0) ShareShare
ReportReport
Posted on 29 Sep 2022 01:27:32 by 249

I have two screen,

I want to click the "+" in the Grid Screen  , then the default value of the status in Screen1 is "In approve".

How should I write the code 

 

FENGYANG_0-1664414743737.pngFENGYANG_1-1664414780827.png

 

 

 
Categories:
  • FENGYANG Profile Picture
    249 on 04 Oct 2022 at 10:01:15
    Re: Combobox Default

    Done.

    Thanks

  • Verified answer
    v-bofeng-msft Profile Picture
    on 29 Sep 2022 at 05:40:57
    Re: Combobox Default

    Hi @FENGYANG ,

     

    Please try:

     

    Set the combo box's DefautSelecteditems property to

     

    If(
     Form1.Mode=FormMode.New,
     {Value:"In approve"},
     Parent.Default
    )

     

    Best Regards,

    Bof

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2