Allow decimal numbers for the kcal field (closes #492)

This commit is contained in:
Bernd Bestel
2020-01-21 21:31:42 +01:00
parent 5cdfd30852
commit 6f035fd64d
2 changed files with 2 additions and 1 deletions

View File

@@ -219,7 +219,7 @@
'id' => 'calories',
'label' => 'Energy (kcal)',
'min' => 0,
'step' => 1,
'step' => 0.01,
'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'),
'hint' => $__t('Per stock quantity unit'),