update for Android. to get Android phones working we have to add this code to the frontend.js
// Display response.
displayResult.innerHTML = request.response;
// value must use double quotes. single quotes not work.
document.querySelector(‘input[name = “scan-code”]’).value = “”;
// for android
var elements = document.querySelectorAll(‘input[name=”scan-code”]’);
elements[0].value= “”;
clearing the scan-code value after submiting the scan-ticket form.
I am using a piece of code right after request.send in the frontend.js of box office-plugin/assets/js :
document.querySelector(‘input[name = “scan-code”]’).value = “”;
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.
update for Android. to get Android phones working we have to add this code to the frontend.js
// Display response.
displayResult.innerHTML = request.response;
// value must use double quotes. single quotes not work.
document.querySelector(‘input[name = “scan-code”]’).value = “”;
// for android
var elements = document.querySelectorAll(‘input[name=”scan-code”]’);
elements[0].value= “”;
clearing the scan-code value after submiting the scan-ticket form.
I am using a piece of code right after request.send in the frontend.js of box office-plugin/assets/js :
document.querySelector(‘input[name = “scan-code”]’).value = “”;
that did the job for me.