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 / Auto populate Text Box...
Power Apps
Answered

Auto populate Text Box based on a Dropdown Value

(0) ShareShare
ReportReport
Posted on by 53

Hello i have a table that has  two columns in sql, ID and Description

ID              Description

1               Hello

2               Test

 

On my App, When user selects ID from dropdown , i would like my Textbox to display Hello and same thing with rest of the other column.

I tried doing dropdown1.selected.value in ID but this did not help.

I also tried doing On select property of dropdown to UpdateContext({itemsselected:Dropdown.Selected.Value}) and default of text to itemsselected. This only brings ID not the description.

Any help would be appreciated.

Thanks! 

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi @rameshkc

     

    So, you have your dropdown1 with it's items equal to NameOfDataSource.ID which will then automatically update and not require manual entry if the list expands yeah?

     

    Then, you will need to have the label's Text=

    LookUp(NameOfDataSource,ID=dropdown1.Selected.ID).Description

     

    Let me know if that works for you, and if not could you provide a bit more detail regarding the situation and names of items,

     

    Cheers,

    @iAm_ManCat

  • rameshkc Profile Picture
    53 on at

    @iAm_ManCatThat works!! Thanks a lot!

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    My Pleasure, glad to help 🙂

  • shal2522 Profile Picture
    76 on at

    I have a combo box list with users that come from office365.When I select a user name I want that populating a text field. 

    How do I go about this?

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 402

#2
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 293 Super User 2025 Season 2

Last 30 days Overall leaderboard