JsBarcode icon indicating copy to clipboard operation
JsBarcode copied to clipboard

Can't get ean128 option from attribute

Open jonbrock opened this issue 3 years ago • 0 comments

<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.

jonbrock avatar Nov 19 '20 00:11 jonbrock