Disable form submission on every keydown event

This commit is contained in:
benguozakinci@gmail.com
2021-08-25 14:55:01 +03:00
parent b43b726587
commit 37eff2d980
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,6 @@ const app = new Vue({
tax: false,
discounts: [],
tax_id: [],
items: [],
taxes: [],
page_loaded: false,
@ -310,6 +309,7 @@ const app = new Vue({
let item_taxes = [];
setPromiseTimeout(200).then(() => this.$refs['name-input'][index].focus()); //add focus to new item name input
if (item.tax_ids) {
item.tax_ids.forEach(function (tax_id, index) {
if (this.taxes.includes(tax_id)) {