Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Using Text Input for Search in a gallery items property no longer works on change (as you type). Only updates the items property when the text input control loses focus

(3) ShareShare
ReportReport
Posted on by 15

OK,  Here is the problem.   On 10 JULY 2024, my app behavior changed.  There were no code changes, yet the app search feature no longer worked as designed.

 

The intended behavior:   As the user types in the search box, the search function in the items property for a gallery would update.  With each letter typed, the search would refine the contents of the gallery.

 

The broken behavior: As the user types in the search box, nothing happens.  If the user clicks into another control on the screen, the items parameter search function fires and the gallery is updated.

 

The Culprit: Microsoft has added a new parameter for the text input control.  The new parameter is called "TriggerOutput".   For some reason, this new parameter is defaulted to "FocusOut".   This FocusOut fires when the user clicks or tabs out of the text input field.

The Solution:  Go to the "TriggerOutput" property for your text input control.   Comment out the value //"FocusOut"

  • Verified answer
    DP-14081440-0 Profile Picture
    DP-14081440-0 15 on at
    Using Text Input for Search in a gallery items property no longer works on change (as you type). Only updates the items property when the text input control loses focus
    The Solution:  Go to the "TriggerOutput" property for your text input control.   Comment out the value //"FocusOut"
  • FLMike Profile Picture
    FLMike 31,444 on at
    Re: Using Text Input for Search in a gallery items property no longer works on change (as you type). Only updates the items property when the text input control loses focus

    yeah I believe it was more they were trying to retrofit, because of the Delay option people would use so that typing wouldn't specifically trigger as much

     

    It was probably more voices asked for it, than for it (meaning it firing on every character).

     

    Its a great post.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard