Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.
 
 
  • Verified answer
    CU24100400-0 Profile Picture
    15 on at
    How to reset value in text input from barcode reader in gallery?
    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.
     
  • Nandit Profile Picture
    1,563 Super User 2025 Season 1 on at
    How to reset value in text input from barcode reader in gallery?
     
    Just following up to see if you got the chance to try out the method I shared.
     
    Kind regards,
    Nandit
  • Suggested answer
    Nandit Profile Picture
    1,563 Super User 2025 Season 1 on at
    How to reset value in text input from barcode reader in gallery?
     
    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!
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1