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 / Combo box does not pas...
Power Apps
Unanswered

Combo box does not pass default selected value to HTML text

(0) ShareShare
ReportReport
Posted on by 10

Combo box does not pass default selected value to HTML text. It only pass value when I change the value in it. Anybody any idea of how to fix this?

 

 

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    share your code

  • djoshi Profile Picture
    10 on at

    I have this code snippet in HTMLText
    <h1>"&If(ComboBox.SearchText = "",ComboBox.Selected.Value,ComboBox.SearchText)&"</h1>

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Combobox have this peculiarity that sometimes default selected doesn't work. Can you try resetting your combobox before this html code?

    Reset(ComboBox name);

  • djoshi Profile Picture
    10 on at

    It gives error as this combo box is a part of form. And also I think resetting combo box would wipe the saved input data.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard