Accessing Repeater field from JS code in view
Hi fellows, I have a basic form like this:
This render QRCode scanner preview window. Here I use https://unpkg.com/html5-qrcode@2.3.2/html5-qrcode.min.js libary and it works liek expected. Problem I having is could not find a way from this view to access the repeater and add scanned code.
using this call to getElementById I have access to temporary input I'm using for debug, but how can I access repeater and add elements from here? Or mayne I could try other approach? Tanks in advance for your answers
This render QRCode scanner preview window. Here I use https://unpkg.com/html5-qrcode@2.3.2/html5-qrcode.min.js libary and it works liek expected. Problem I having is could not find a way from this view to access the repeater and add scanned code.
using this call to getElementById I have access to temporary input I'm using for debug, but how can I access repeater and add elements from here? Or mayne I could try other approach? Tanks in advance for your answers

Solution
Hi, I think finally get it working. Added wire:ignore and now qr-scanner is not dissapearing after $wire.dispatchFormEvent('addItem', $data);
