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 : sJ49I9u11cpE+mxRpLz2Dc
Power Apps - Building Power Apps
Answered

Auto populate Text Box based on a Dropdown Value

Like (0) ShareShare
ReportReport
Posted on 19 Dec 2018 22:54:33 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! 

  • shal2522 Profile Picture
    76 on 07 Sep 2022 at 14:19:29
    Re: Auto populate Text Box based on a Dropdown Value

    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?

  • iAm_ManCat Profile Picture
    18,206 Most Valuable Professional on 20 Dec 2018 at 17:56:43
    Re: Auto populate Text Box based on a Dropdown Value

    My Pleasure, glad to help 🙂

  • rameshkc Profile Picture
    53 on 20 Dec 2018 at 16:40:37
    Re: Auto populate Text Box based on a Dropdown Value

    @iAm_ManCatThat works!! Thanks a lot!

  • Verified answer
    iAm_ManCat Profile Picture
    18,206 Most Valuable Professional on 20 Dec 2018 at 16:31:25
    Re: Auto populate Text Box based on a Dropdown Value

    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

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