When you want to show barcodes (shift+b) JSBarcode sometimes throws an error similar to
"2000000148223" is not a valid input for e
Since the barcodes are being drawn inside a for loop one by one, eventually an exeption occurs and quits the for loop leaving the remaining barcodes not drawn:
Screenshot
All I do is add a try{}catch(){} block. I dont fix the error itself. I am guessing the barcode is not a valid format therefore it is not being drawn by JsBarcode.
What
When you want to show barcodes (shift+b) JSBarcode sometimes throws an error similar to
"2000000148223" is not a valid input for e
Since the barcodes are being drawn inside a for loop one by one, eventually an exeption occurs and quits the for loop leaving the remaining barcodes not drawn:
Screenshot
All I do is add a try{}catch(){} block. I dont fix the error itself. I am guessing the barcode is not a valid format therefore it is not being drawn by JsBarcode.