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 / "Reset" a text label a...
Power Apps
Answered

"Reset" a text label and/or "unselect" a listbox item

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

I made a droplist/combobox by following the answer here:
https://powerusers.microsoft.com/t5/General-Discussion/PowerApps-Dropdown-Options-amp-Labels-Are-Cutoff/td-p/137268

The question I have is: how can I make it so if I save the form and that selected 'text', when I go to editscreen again, instead of showing the selected option, the text label either is "" (empty) and/or the option selected in the list that gives the textlabel its value, it is "unselected" thus not giving the text label a value.

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you please confirm:
    1: If update property of your column corresponds to <<Dropdown>>Selected? It expects a record value.
    2: What is the default value of your dropdown? Check if it is ThisItem.<<attribute>>
     
    If these two things differ, please make the change and try to fetch the details again.
     
    Thanks,
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about your scenario?

    Do you want your custom Dropdown component to display the selected option/value when you edit an submitted record in your Edit form?

     

    I have made a test on my side, and don't have the issue that you mentioned. Please take a try with the following workaround:9.JPG

     

    10.JPG

    Set the OnVisible property of the Edit screen to following:

    UpdateContext({showList: false})

    Set the Default property of the ListBox to following:

    If(!IsBlank(ThisItem.Status.Value), ThisItem.Status.Value, "")

    On your side, you should type:

    If(!IsBlank(ThisItem.YourChoiceColumn.Value), ThisItem.YourChoiceColumn.Value, "")

    Set the Text property of the DataCardValueN label to following:

    If(!IsBlank(ListBox1.Selected.Value),ListBox1.Selected.Value, "")

    Please check the following GIF screenshot for more details:Test.gif

    I have also provided a sample app, please check the following attached Sample app.

     

    Please check if you have bind the ListBox within your Edit form to the Choice column in your SP list property. And have typed above proper formula within the Default property of the ListBox and the Text property of the DataCardValueN label.

     

    Best regards,

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Just an update -- If you want to reset the DataCardValueN label and unselect the Listbox item within the Edit form when you edit an existing record, please set the Default property of the ListBox (ListBox1) to following:

    ""

    Note: If you want to reset your ListBox, please do not bind the Default property to the Choice column value of the current item.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-xida-msft 

    Thank you, that was indeed what I needed.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard