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 / Strange behaviour of T...
Power Apps
Unanswered

Strange behaviour of Text Input

(0) ShareShare
ReportReport
Posted on by 270

Hi

I have a text input linked to a gallery, when I type in something to search for the text in the gallery, whether this finds a result or not, when I want to clear the textinput to set the gallery back to showing everything, I oddly cannot use a button with its OnSelect set to:

 

 

 

Reset(TextInpLog); Set(vIcnCancel, false)

 

 

 

When clicking the button it removes the text from TextInput but does not reset the gallery, on the other hand if I highlight the text in the textinput and click delete/backspace on my keyboard, this does reset the textinput and displays all items in my gallery.

 

The exact same principle works on all other screens, the only difference I have is additional Combo Box allowing to filter a gallery, which do not come in play, when I'm simply testing the TextInput 

 

Categories:
  • SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @PowerAGuy 

     

    Can You share your gallery code

  • PowerAGuy Profile Picture
    270 on at

    Hi @SebS sure,

    Although I do not think this is where the problem is, as when I use my keyboard to clear the text in the textinput, the behaviour is fine and correct loading the items in the gallery as expected

     

    Search(
     Filter(
     Log, 
     IsBlank(CbxLogA.Selected.Result) || IsEmpty(CbxLogA.Selected.Result) || LogA= CbxLogA.Selected.Result,
     IsBlank(CbxLogAO.Selected.Result) || IsEmpty(CbxLogCbxLogAO.Selected.Result) || LogAO = CbxLogAO.Selected.Result
     ),
     TextInpLog.Text,
     "UserEmail", "LogA", "LogAO"
    )
    

     

  • SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @PowerAGuy 

     

    You reseting 

     

    Reset(TextInpSearch)

     

    But the field You are searching calling is this just example or You have two different names I'm confused

     

    TextInpLog.Text

     

  • PowerAGuy Profile Picture
    270 on at

    at was a typo, sorry, corrected

     

    like the reset function does remove any text in the text input, but doesnt actually, well so it seems

  • PowerAGuy Profile Picture
    270 on at

    Hi @SebS 

     

    Any ideas why this isn't working as expected?

     

     

    Having investigated further, the only difference from my other screens, where this functionality works, is I am referencing a collection in those screens, but on this screen I am referencing my data source, again I do not think it ought to make a difference, but trying to provide as much info as relevant 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard