mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
fix(mobile): Cannot type date format on Samsung phone (#15430)
* fix(mobile): Cannot type date format on Samsung phone * use calendar
This commit is contained in:
parent
0f803a4f5e
commit
d249b63c99
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"start_date": "Start date",
|
||||||
|
"end_date": "End date",
|
||||||
"action_common_back": "Back",
|
"action_common_back": "Back",
|
||||||
"action_common_cancel": "Cancel",
|
"action_common_cancel": "Cancel",
|
||||||
"action_common_clear": "Clear",
|
"action_common_clear": "Clear",
|
||||||
|
|
|
@ -275,7 +275,9 @@ class SearchPage extends HookConsumerWidget {
|
||||||
errorInvalidText: 'invalid_date'.tr(),
|
errorInvalidText: 'invalid_date'.tr(),
|
||||||
fieldStartHintText: 'start_date'.tr(),
|
fieldStartHintText: 'start_date'.tr(),
|
||||||
fieldEndHintText: 'end_date'.tr(),
|
fieldEndHintText: 'end_date'.tr(),
|
||||||
initialEntryMode: DatePickerEntryMode.input,
|
initialEntryMode: DatePickerEntryMode.calendar,
|
||||||
|
keyboardType: TextInputType.text,
|
||||||
|
locale: context.locale,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (date == null) {
|
if (date == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue