mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-20 10:23:07 +02:00
Add scheduled field to the UI
This commit is contained in:
parent
1d79a90ffb
commit
1136d94e77
2 changed files with 23 additions and 2 deletions
|
@ -24,6 +24,10 @@
|
|||
hide-selected
|
||||
label="Project"
|
||||
/>
|
||||
<v-text-field
|
||||
v-model="formData.scheduled"
|
||||
label="Scheduled"
|
||||
/>
|
||||
<v-text-field
|
||||
v-model="formData.due"
|
||||
:label="recur ? 'Due*' : 'Due'"
|
||||
|
@ -127,6 +131,7 @@ export default defineComponent({
|
|||
const formData = ref({
|
||||
description: '',
|
||||
project: '',
|
||||
scheduled: '',
|
||||
due: '',
|
||||
until: '',
|
||||
wait: '',
|
||||
|
@ -140,6 +145,7 @@ export default defineComponent({
|
|||
formData.value = {
|
||||
description: '',
|
||||
project: '',
|
||||
scheduled: '',
|
||||
due: '',
|
||||
until: '',
|
||||
wait: '',
|
||||
|
@ -168,6 +174,7 @@ export default defineComponent({
|
|||
await context.root.$store.dispatch('updateTasks', [{
|
||||
...formData.value,
|
||||
project: formData.value.project || undefined,
|
||||
scheduled: formData.value.scheduled || undefined,
|
||||
due: formData.value.due || undefined,
|
||||
until: formData.value.until || undefined,
|
||||
wait: formData.value.wait || undefined,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue