cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bendorge
Level: Powered On

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
Super User
Super User

Re: Intermittent results from Search function

Hi @bendorge,

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-...

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Intermittent results from Search function

Hi @bendorge,

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-...

View solution in original post

Highlighted
bendorge
Level: Powered On

Re: Intermittent results from Search function

Thank you! That did the trick!

mr-dang
Level 10

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,535)