Barcode

Overview

You can manage barcodes and QR codes with these widgets.

Barcode

Display a barcode using this widget. If no value is provided, the UID will be used.
Readonly view:
Edit view:
Form view:
Same as the edit view.
Configuration:
{
"format": "CODE128", // (optional), default to CODE128, check https://github.com/lindell/JsBarcode/wiki#barcodes for all options
"height": 30, // (optional), default to 30
"width": 2, // (optional), default to 2
"margin": 2, // (optional), default to 2
"displayValue": true, // (optional), default to true. Set to false to hide value
"fontSize": 12, // (optional), default to 12
}
Import value:
Any barcode string. For example: 35477855

QR Code

Display a QR code using this widget. If no value is provided, the UID will be used.
Readonly view:
Edit view:
Form view:
Same as the edit view.
Configuration:
{
"width": 30, // (optional), default to 30
"level": "L", // (optional), default to L. QR Error correction level. Choice of L, M, Q, H
}
Import value:
Any QR code string. For example: 3478987
Last modified 15d ago
Copy link
On this page
Overview
Barcode
QR Code