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

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

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at
    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.

  • v-micsh-msft Profile Picture
    on at
    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

  • AmitLoh-Powerap Profile Picture
    608 on at
    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.

  • Verified answer
    hpkeong Profile Picture
    2,944 on at
    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 at
    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!)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard