web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Search Icon disappears...
Power Apps
Answered

Search Icon disappears when entering 2or3 letters

(0) ShareShare
ReportReport
Posted on by 148

Can someone help me with this: I built a searchfunction that works well. The setting is a: textinputbox that replies search options after an ‘enter’. I want to skip the enter and use 2 Icons, the searchIcon (loupe) and the delete Icon (cross). This is producing a strange problem. When I enter 2 or 3 letters in the searchbox, the search icon disappears and the delete icon remains visible. So after entering a searchword you can not klick on the search icon.

The formules I use on the 2 Icons are:

  1. Search Icon
    1. Visible: If(IsBlank(Searchfield.Text); true; false)
    2. OnSelect; Set(SearchQuery;Searchfield.Text)
  2. Delete Icon
    1. Visible: If(IsBlank(Searchfield.Text); false; true)
    2. Set(SearchQuery;””)&Reset(Searchfield)

As I live in the Netherands a “,”should be “;” and for 2 functions we have to use & in stead of “;”.

Categories:
I have the same question (0)
  • Verified answer
    Ash13 Profile Picture
    576 on at

    Hi @FZ80 

    Looks like you need to swap the true/false arguments of you visibilities. Currently you Search Icon visible is returning true if the text input is blank. Also, for cleaner code:

    Search Icon Visible:

    !IsBlank(Searchfield.Text)
  • FZ80 Profile Picture
    148 on at

    Thanks for helping me. This works fine so my problem is solved!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard