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 Apps
Answered

Combobox Default

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    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

  • FENGYANG Profile Picture
    249 on at

    Done.

    Thanks

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard