Add proper fuzzy matching for time tags
This commit is contained in:
@ -41,7 +41,7 @@ func NewTimeEditorPage(com *common.Common, interval *timewarrior.Interval) *Time
|
||||
|
||||
// Create tags autocomplete with combinations from past intervals
|
||||
tagCombinations := com.TimeW.GetTagCombinations()
|
||||
tagsInput := autocomplete.New(tagCombinations, 3)
|
||||
tagsInput := autocomplete.New(tagCombinations, 3, 10)
|
||||
tagsInput.SetPlaceholder("Space separated, use \"\" for tags with spaces")
|
||||
tagsInput.SetValue(formatTags(interval.Tags))
|
||||
tagsInput.SetWidth(50)
|
||||
|
||||
Reference in New Issue
Block a user