From 91aed233a9a8a1f416b342fcf0338ebd7d295c1f Mon Sep 17 00:00:00 2001 From: danielDHH <98386071+danielDHH@users.noreply.github.com> Date: Sat, 16 Nov 2024 12:26:04 +0100 Subject: [PATCH] Fix editing nextExecutionTime of scheduled tasks --- .../frosh-tools-tab-scheduled/template.twig | 2 +- .../sw-data-grid-inline-edit/template.twig | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/template.twig b/src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/template.twig index 0725be3c..c73245ec 100644 --- a/src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/template.twig +++ b/src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/template.twig @@ -35,7 +35,7 @@ :column="column" :compact="compact" :value="item[column.property]" - @input="item[column.property] = $event"> + @update:value="item[column.property] = $event"> diff --git a/src/Resources/app/administration/src/overrides/sw-data-grid-inline-edit/template.twig b/src/Resources/app/administration/src/overrides/sw-data-grid-inline-edit/template.twig index 069b0a81..f61fb8aa 100644 --- a/src/Resources/app/administration/src/overrides/sw-data-grid-inline-edit/template.twig +++ b/src/Resources/app/administration/src/overrides/sw-data-grid-inline-edit/template.twig @@ -1,15 +1,19 @@ {% block sw_data_grid_inline_edit_type_unknown %} - + key="date" + date-type="date" + v-model:value="currentValue" + name="sw-field--currentValue" + /> - + key="datetime" + date-type="datetime" + v-model:value="currentValue" + name="sw-field--currentValue" + /> {% parent() %} {% endblock %}