Allow decimal amounts in general for the shopping list

This commit is contained in:
Bernd Bestel
2020-08-24 20:25:50 +02:00
parent ece880ea44
commit 3b564294e3
5 changed files with 9 additions and 18 deletions

View File

@@ -51,9 +51,10 @@
'id' => 'amount',
'label' => 'Amount',
'hintId' => 'amount_qu_unit',
'min' => 0,
'min' => 0.01,
'step' => 0.01,
'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '1')
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0.01')
))
<div class="form-group">