diff --git a/web/templates/index.html b/web/templates/index.html index 109e42d..ed714da 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -1526,7 +1526,7 @@ function renderSingleSelectTab(categories) { value="${selectedItem?.lot_name || ''}" placeholder="Введите артикул..." class="w-full px-2 py-1 border rounded text-sm font-mono" - onfocus="showAutocomplete('${cat}', this)" + autocomplete="off" onfocus="showAutocomplete('${cat}', this)" oninput="filterAutocomplete('${cat}', this.value)" onkeydown="handleAutocompleteKey(event, '${cat}')"> @@ -1592,7 +1592,7 @@ function renderMultiSelectTab(components) { @@ -1625,7 +1625,7 @@ function renderMultiSelectTab(components) { id="input-new-item" placeholder="Добавить компонент..." class="w-full px-2 py-1 border rounded text-sm" - onfocus="showAutocompleteMulti(this)" + autocomplete="off" onfocus="showAutocompleteMulti(this)" oninput="filterAutocompleteMulti(this.value)" onkeydown="handleAutocompleteKeyMulti(event)"> @@ -1704,7 +1704,7 @@ function renderMultiSelectTabWithSections(sections) { value="${escapeHtml(item.lot_name)}" data-categories="${categoriesStr}" class="w-full px-2 py-1 border rounded text-sm font-mono" - onfocus="showAutocompleteEditItem('${item.lot_name}', this)" + autocomplete="off" onfocus="showAutocompleteEditItem('${item.lot_name}', this)" oninput="filterAutocompleteEditItem(this.value)" onkeydown="handleAutocompleteKeyEditItem(event)"> @@ -1738,7 +1738,7 @@ function renderMultiSelectTabWithSections(sections) { data-categories="${categoriesStr}" placeholder="Добавить ${section.title.toLowerCase()}..." class="w-full px-2 py-1 border rounded text-sm" - onfocus="showAutocompleteSection('${sectionId}', this)" + autocomplete="off" onfocus="showAutocompleteSection('${sectionId}', this)" oninput="filterAutocompleteSection('${sectionId}', this.value, this)" onkeydown="handleAutocompleteKeySection(event, '${sectionId}')"> @@ -3744,7 +3744,7 @@ function _bomRawLotCell(rowIdx) { return `
${renderBOMLotAllocationsEditor(rowIdx)}`; @@ -4144,7 +4144,7 @@ function _renderBOMParsedTable() { lotCell = `
${renderBOMLotAllocationsEditor(idx)}`; } else {