cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Intermittent results from Search function

Hi there,

 

In a Powerapp, I've got a search field and a gallery connected to a Common Data Service entity with 7,000+ items. The gallery "Items" property is set to (names changed to protect the innocent): 

 

Filter('CDSDataSource', SearchText.Text in terms || SearchText.Text in descriptions)

 

Unfortunately, as the characters are typed in the search field, the gallery results do not always update based on the text entered. See attached image. I've also used the following Search function instead, but I have experienced the same issue:

 

Search('CDSDataSource', SearchText.Text, "terms", "descriptions")

 

Note: By deleting a character and retyping in the search box, the gallery updates as expected.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Intermittent results from Search function

Hi @Anonymous,

Set the DelayOutput of your SearchText control to true and see if that helps.  @mr-dang has a good response about this property in this thread.  https://powerusers.microsoft.com/t5/General-Discussion/DelayOutput-property-of-TextInput-control/m-p/23396#M10041

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Intermittent results from Search function

Hi @Anonymous,

Set the DelayOutput of your SearchText control to true and see if that helps.  @mr-dang has a good response about this property in this thread.  https://powerusers.microsoft.com/t5/General-Discussion/DelayOutput-property-of-TextInput-control/m-p/23396#M10041

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Intermittent results from Search function

Thank you! That did the trick!

Highlighted
Community Champion
Community Champion

Re: Intermittent results from Search function

Thanks @Drrickryp,

Also, I would check that the default text in the search text box is "" and not blank (null). There is a difference. 

 

Microsoft Employee
@8bitclassroom

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,848)