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 / 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

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 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard