cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 283 members 1,948 guests
Please welcome our newest community members: