Allow no product for shopping list items & always in-/decrement by 1 when using the number input arrow buttons (fixes #964)

This commit is contained in:
Bernd Bestel
2020-10-18 14:27:23 +02:00
parent 7e08224c75
commit 80cf68aeaa
13 changed files with 11 additions and 30 deletions

View File

@@ -286,7 +286,6 @@
'id' => 'tare_weight',
'label' => 'Tare weight',
'min' => 0,
'step' => 0.01,
'value' => $value,
'invalidFeedback' => $__t('This cannot be lower than %s', '0'),
'additionalAttributes' => $additionalAttributes,
@@ -315,7 +314,6 @@
'id' => 'calories',
'label' => 'Energy (kcal)',
'min' => 0,
'step' => 0.01,
'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'),
'hint' => $__t('Per stock quantity unit'),