Solution found in another thread
we aren't able to delete a control when running the app.
You can set the Barcode Scanner to be invisible as if it is deleted.
Set OnStart property of App to Set(Var1, true)
Set Visible property of Barcode Scanner to Var1
Set OnSelect property of Button to Set(Var1, false)
Once the button is clicked, the Barcode Scanner become invisible. You can also add an undo button, just set OnSelect to Set(Var1, true).
It deletes the scanned barcode but when I scan more barcodes they do not appear again
Check out our new profile badges recognizing authored solutions!
We are excited to announce the Power Apps Super Users!
Did you miss the call? Check out the Power Apps Community Call here.