Skip to content

Commit

Permalink
Fix editing nextExecutionTime of scheduled tasks (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielDHH authored Nov 16, 2024
1 parent 628f9db commit e4ea09e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
:column="column"
:compact="compact"
:value="item[column.property]"
@input="item[column.property] = $event">
@update:value="item[column.property] = $event">
</sw-data-grid-inline-edit>

<span v-else>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{% block sw_data_grid_inline_edit_type_unknown %}
<sw-datepicker
v-else-if="column.inlineEdit === 'date'"
dateType="date"
v-model="currentValue">
</sw-datepicker>
key="date"
date-type="date"
v-model:value="currentValue"
name="sw-field--currentValue"
/>

<sw-datepicker
v-else-if="column.inlineEdit === 'datetime'"
dateType="datetime"
v-model="currentValue">
</sw-datepicker>
key="datetime"
date-type="datetime"
v-model:value="currentValue"
name="sw-field--currentValue"
/>

{% parent() %}
{% endblock %}

0 comments on commit e4ea09e

Please sign in to comment.