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 / Fill Text Box with a w...
Power Apps
Unanswered

Fill Text Box with a word when a button is pressed

(0) ShareShare
ReportReport
Posted on by 12

I have a gallery that i am using.  I also have a search box i use to filter that gallery.

I have a "quick access" type button i want to press. that when i press it, then it puts the word "Dock" into the search box, and thus quickly filtering the gallery. 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PremierDave 

    For the button's OnSelect property: UpdateContext({var:"Dock"}) and make the default property of the TextInput Box: var

  • PremierDave Profile Picture
    12 on at

    there is no Var option just VarP or Var Scan and both produce an errror

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PremierDave 

    In my post, var is simply a variable.  You can call it anything. 

  • PremierDave Profile Picture
    12 on at

    sorry not understanding.  if i put Var there it errors out the box.  cuase i want the box to be able to manually enter info into it as well. 

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PremierDave 

    First, make the OnSelect property of your button UpdateContext({var:"Dock"}) before you put 

     var in the Default property of the textbox.  If you do it in the reverse order, it won't work.

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard