Making barcode field blank

Certified Senior Developer

Hi, 

I am using a barcode scanner to read an asset and display its details. This part is working fine but I want to clear the existing entry in the barcode field for subsequent barcode scans. 

How can I make it work?

Thanks

 

a!barcodeField(
        label: "",
        labelPosition: "ABOVE",
        instructions: "Scan the QR Code of the Asset",
        acceptedTypes: "QRCODE",
        value: local!asset.partId,
        saveInto: local!asset.partId,
        refreshAfter: "KEYPRESS",
        validations: {}
      ),

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data