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 : 5yl2nhx63zVQU6rRRDsl6S
Power Apps - Building Power Apps
Answered

how to do multiple text box clearing and dropdown select to first value on clear button click

Like (0) ShareShare
ReportReport
Posted on 18 Jan 2017 16:23:25 by 608

I have a clear button and I want to reset and clear multiple textbox and dropdown value(dropdown value to select first item)

How do I use below function to clear reset multiple controls?

UpdateContext(})

Categories:
  • AmitLoh-Powerap Profile Picture
    608 on 22 Jan 2017 at 16:44:30
    Re: how to do multiple text box clearing and dropdown select to first value on clear button click

    Thanks hpkeong. I will try to use inputbox instead of textbox(trying to figure out one complex search filter behavior!)

  • Verified answer
    hpkeong Profile Picture
    2,944 on 22 Jan 2017 at 15:34:37
    Re: how to do multiple text box clearing and dropdown select to first value on clear button click

    hi @AmitLoh-Powerap

     

    Can it be a misunderstanding?

    Reset is only for TextInput, Not for TextBox.

    - TextBox is the container for your data, how can you clear them?

    They contain data by default (from your database).

     

    Hope I get you right!

     

    Have a nice day!

  • AmitLoh-Powerap Profile Picture
    608 on 21 Jan 2017 at 16:26:29
    Re: how to do multiple text box clearing and dropdown select to first value on clear button click

    Hi, I want to clear textbox on dropdown change. I do not see this value in reset option of textbox.

  • v-micsh-msft Profile Picture
    on 19 Jan 2017 at 06:56:49
    Re: how to do multiple text box clearing and dropdown select to first value on clear button click

    Hi @AmitLoh-Powerap,

     

    In addition to the updatecontext, we could use the reset property of the TextBox or Dropdown control.

     

    Change the Reset property of the controls that you would like to reset with the formula below:

    Reset = Button.Pressed

    No need to change the property of the button, when clicked, all the controls would be reset with the defult value.

    Reference: Core properties in PowerApps

    In addition, add a thread for reference:

    Reset Search Text Box

    Regards

  • Meneghino Profile Picture
    6,949 on 18 Jan 2017 at 16:54:11
    Re: how to do multiple text box clearing and dropdown select to first value on clear button click

    @AmitLoh-Powerap I have a few posts on this, please search the forum.  Even better, please search the forum before posting questions to which the answers already exist.

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