Read BarCode in q-input open Donwload Windows
-
When I read a bar code on input it opens a downloads window, how could I solve this problem?
I read about it:
$ (document) .ready (function () {
$ ("# input") keydown (function (e) {
if (e.which == 17 || e.which == 74) {
e.preventDefault ();
} else {
console.log (e.which);
}
})
});Would it solve? How would you apply in quasar?
-
In quasar v0.17
-
I read about it too
$(’#id_number’).keydown(function(event){
event.preventDefault();
event.stopPropagation();
});