From 6240524daa08e34c7aa9187fdecbddfb005df3c8 Mon Sep 17 00:00:00 2001 From: Zach Hammer Date: Tue, 29 Oct 2024 10:59:12 -0400 Subject: [PATCH] Patch for https://github.com/charmbracelet/huh/issues/419 Apply patch from https://github.com/charmbracelet/huh/issues/419 --- group.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/group.go b/group.go index d890751b..bb2aae20 100644 --- a/group.go +++ b/group.go @@ -190,6 +190,8 @@ func PrevField() tea.Msg { func (g *Group) Init() tea.Cmd { var cmds []tea.Cmd + cmds = append(cmds, func() tea.Msg { return updateFieldMsg{} }) + if g.selector.Selected().Skip() { if g.selector.OnLast() { cmds = append(cmds, g.prevField()...)