mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Allow decimal numbers for the kcal field (closes #492)
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user