[WIP] Task editing
This commit is contained in:
@ -105,6 +105,7 @@ func NewTaskEditorPage(common *common.Common, task taskwarrior.Task) *TaskEditor
|
||||
|
||||
huh.NewMultiSelect[string]().
|
||||
Options(huh.NewOptions(tagOptions...)...).
|
||||
// Key("tags").
|
||||
Title("Tags").
|
||||
Value(&p.task.Tags),
|
||||
|
||||
@ -245,6 +246,8 @@ func (p *TaskEditorPage) updateTasksCmd() tea.Msg {
|
||||
if p.additionalProject != "" {
|
||||
p.task.Project = p.additionalProject
|
||||
}
|
||||
// tags := p.form.Get("tags").([]string)
|
||||
// p.task.Tags = tags
|
||||
p.common.TW.ImportTask(&p.task)
|
||||
return UpdatedTasksMsg{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user