cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shea1
Advocate I
Advocate I

Gallery items do not appear I have to use the search bar

(POWERAPPS FOR TEAMS)

Hi guys,

 

I created a gallery that displays information about items. There are alot of records so I implement a search bar that uses StartsWith to search through 3 separate records. The issue is when I click onto the screen that has the gallery the items do not appear immediately, instead I have to use the search bar to search for a record. The strange thing is that when I remove the text from the search bar all of the items in the gallery appear.   Attached is the code on my items property in the gallery.

 

Any help would be appreciated, thank you!

 

Shea1_0-1649328500426.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Shea1 ,

 

I guess this is due to the difference between blank() and blank string.

vxiaochenmsft_0-1649647329972.png

vxiaochenmsft_2-1649647379165.png

 

The easiest method is to set the default property of your textinput control to:

""

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @Shea1 ,

 

I guess this is due to the difference between blank() and blank string.

vxiaochenmsft_0-1649647329972.png

vxiaochenmsft_2-1649647379165.png

 

The easiest method is to set the default property of your textinput control to:

""

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,274)