JsBarcode
JsBarcode copied to clipboard
Can't get ean128 option from attribute
<svg jsbarcode-format="code128c" jsbarcode-value="42012345" jsbarcode-ean128="true"></svg>
isn't working properly when using JsBarcode.init(). The reason is that the jsbarcode-ean128 option is not being read because ean128 is missing from src/options/defaults.js.
This can be fixed by adding
ean128: false
to the defaults variable.