You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
As noted in #14, we actually added the ability to specify a regular expression that a barcode value must match in the underlying barcode-scan-listener-module, so you could specify something like barcodeValueTest: /\r$/. But unfortunately as explained in the above issue, we haven't properly threaded support for that into this module yet. And the value that your handler would be called with would include the carriage return, so you'd have to handle truncating that yourself...
However we'd also accept a PR into barcode-scan-listener if you'd like to add support for an optional suffix that gets stripped like the prefix!
I actually saw what you're describing later in the day while investigating. I've done the mapping you're mentioning but I'm struggling a little with the tests .. that's my first time with both coffee script syntax and karma..
Very often I have seen physical barcode scanners using a carriage return to signal the end of a barcode.
could you do something to manage this ?
The text was updated successfully, but these errors were encountered: