From 1fc8ba1773fc850ad7c451df3f3741ee1225c55f Mon Sep 17 00:00:00 2001 From: Brandon Fulljames Date: Tue, 5 Jul 2022 22:38:00 +0900 Subject: [PATCH] Remove errant cursor when setting filter input manually --- table/options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/table/options.go b/table/options.go index ca51c96..2383053 100644 --- a/table/options.go +++ b/table/options.go @@ -289,6 +289,7 @@ func (m Model) WithFilterInput(input textinput.Model) Model { // that are not necessarily a text input. func (m Model) WithFilterInputValue(value string) Model { m.filterTextInput.SetValue(value) + m.filterTextInput.Blur() return m }