Turn off autocomplete for stock amount/reminder [SCI-6694] (#3988)

This commit is contained in:
artoscinote 2022-04-05 15:46:04 +02:00 committed by GitHub
parent 73757c4820
commit 1cb7704c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@
<input id="stock-input-amount"
class="sci-input-field"
type="text"
autocomplete="off"
name="input-amount"
data-operator="set"
tabindex="1"
@ -95,6 +96,7 @@
<span><%= t('repository_stock_values.manage_modal.reminder_at') %></span>
<div class="sci-input-container" data-error-text="<%= t('repository_stock_values.manage_modal.enter_ammount') %>">
<input type="text"
autocomplete="off"
id="low_stock_threshold"
name="repository_stock_value[low_stock_threshold]"
value="<%= repository_stock_value.formatted_treshold %>"