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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to reset value in ...
Power Apps
Answered

How to reset value in text input from barcode reader in gallery?

(0) ShareShare
ReportReport
Posted on by 15
Hi everyone.
I am struggling with the problem resetting value in text input from barcode reader in gallery.
 
In my app, I created a button for adding new blank row in gallery.
And in the gallery, it consists of barcode reader and text input to show the value.
 
When I press the button adding new row, the text input is fine.
But adding another row, the text input is not blank. It contains the value the same as the first row.
Even if I create a clear button, it still shows that value when I press adding new row.
 
I search for solutions and try them to my app for weeks but still doesn't work.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    I think you should keep the Barcode Reader outside the gallery and update the ScanningMode property to "Scan Multiple". you can then add a gallery to the screen with the following in the Items property:
    BarcodeReader1.Barcodes
    Put an Input Box inside the gallery and that's it. Whatever you will scan will keep getting added to the Gallery. 
     
    Hope this helps, 
     
    Kind regards,
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • Nandit Profile Picture
    1,568 Moderator on at
     
    Just following up to see if you got the chance to try out the method I shared.
     
    Kind regards,
    Nandit
  • Verified answer
    CU24100400-0 Profile Picture
    15 on at
    Hi Nandit,
     
    I have tried your method and it works!
    I don't have to reset the text input.
     
    Thank you so much and so sorry for replying to you late.
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard