From 670d7f16d0912f5945e2fee91fbfed5ab20b7710 Mon Sep 17 00:00:00 2001 From: "k.goto" <24818752+go-to-k@users.noreply.github.com> Date: Fri, 22 Dec 2023 18:49:37 +0900 Subject: [PATCH] feat(io): keep filter for region and runtime selection active (#172) --- internal/io/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/io/input.go b/internal/io/input.go index 66c2733..4d0a7b2 100644 --- a/internal/io/input.go +++ b/internal/io/input.go @@ -19,7 +19,7 @@ func GetCheckboxes(label string, opts []string) ([]string, bool) { Options: opts, PageSize: CheckboxesPageSize, } - survey.AskOne(prompt, &checkboxes) + survey.AskOne(prompt, &checkboxes, survey.WithKeepFilter(true)) if len(checkboxes) == 0 { Logger.Warn().Msg("Select values!")