@gacalves wrote:
I'm trying to use the barcode scanner plugin.
I have more than one field that receives the scanned value, and the amount of these fields can vary (1, 2, 3 fields ...), depending on the configuration the user selects.My problem is knowing which field called the scanner to fill the scanned value back, because the
scan()
method is asynchronous.I tried to pass to the scanner plugin a parameter that indicates the field being scanned at the moment, however, I could not find that option. I also tried to run the
scan()
method synchronously (as in this post), but the scanner does not open.
Does anyone have another solution?
Posts: 1
Participants: 1