mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 20:11:16 +00:00
Optionally use number pad input in best-before-date fields on mobile Chrome (#657)
* Add missing translation for de * Add option to set best-before-date field input-type to number This allows faster input in mobile devices * Fix datetimepicker with inputmode * Fix datatimepicker with numeric input * Add missing translation for de * Add option to set best-before-date field input-type to number This allows faster input in mobile devices * Fix datetimepicker with inputmode * Fix datatimepicker with numeric input * Use more precise name for number pad option * Update localization/de/strings.po Co-Authored-By: Bernd Bestel <bernd@berrnd.de> * Fix merge conflict * Fix merge conflict try 2 Co-authored-by: Michael Neuendorf <neuendorf@gonicus.de> Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -52,7 +52,8 @@
|
||||
'shortcutLabel' => 'Never expires',
|
||||
'earlierThanInfoLimit' => date('Y-m-d'),
|
||||
'earlierThanInfoText' => $__t('The given date is earlier than today, are you sure?'),
|
||||
'additionalGroupCssClasses' => $additionalGroupCssClasses
|
||||
'additionalGroupCssClasses' => $additionalGroupCssClasses,
|
||||
'activateNumberPad' => GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_FIELD_NUMBER_PAD
|
||||
))
|
||||
@php $additionalGroupCssClasses = ''; @endphp
|
||||
|
||||
|
Reference in New Issue
Block a user