Perspective BarcodeScannerInput reset Data Buffer after read


i’m using the BarcodeScannerInput control and it works well. I would like to know if there is a way to keep only last item read in “data” array of control. At the moment every time i read a new barcode the control add the new item to the array (and show all data read on control).


Ok, i solve myself using script on “data”

	self.custom.lastValue =[-1] = [self.custom.lastValue]