Hi @sabrinaaa_,
Let’s address how to hide the gallery until an item is being searched in Power Apps. You can achieve this by adjusting the visibility of the gallery based on user input. Here’s how:
Set Gallery Visibility:
Select your gallery component.
In the properties pane, find the Visible property.
Set the visibility condition based on whether the search box has a value. For example:
Visible: !IsBlank(TextSearchBox1_1.Text)
This formula ensures that the gallery is visible only when the search box (TextSearchBox1_1) contains a value.
Explanation:
The !IsBlank(TextSearchBox1_1.Text) expression checks if the search box is not empty. If it’s not empty, the gallery becomes visible; otherwise, it remains hidden.
Implementation:
Replace TextSearchBox1_1 with the actual name of your search box control.
Adjust the column names and data source as needed for your specific scenario.
By using this approach, your gallery will only appear when the user enters a search value, covering the boxes until interaction occurs.
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.
Sunil Pashikanti - Tech Blog: PowerApps