cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
icturion Helper I
Helper I

Hide gallery if search is empty

Hello,

 

I'm trying to hide the gallery until a value is enter in search.

 

The entity is a sharepoint list under 500 items.

 

Gallery items -->  Search(entity; TextSearchBox1_1.Text; "column1"; "column2")

 

but now i'm stuck on how to hide the gallery until a valua is enter in the search box.

 

hopefully someone can help

 

Kind regards

icturion

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz Community Champion
Community Champion

Re: Hide gallery if search is empty

Hi @icturion ,
Items property of gallery would be 

If(
   !IsBlank(
      TextSearchBox1_1.Text
   );
   Search(
      entity; 
      TextSearchBox1_1.Text; 
      "column1"; 
      "column2"
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
eka24 Community Champion
Community Champion

Re: Hide gallery if search is empty

Select the Gallery and on its Visible:
  !IsBlank(TextSearchBox1_1.Text)

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

WarrenBelz Community Champion
Community Champion

Re: Hide gallery if search is empty

Hi @icturion ,
Items property of gallery would be 

If(
   !IsBlank(
      TextSearchBox1_1.Text
   );
   Search(
      entity; 
      TextSearchBox1_1.Text; 
      "column1"; 
      "column2"
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

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