This commit is contained in:
vilmibm 2024-09-01 23:52:29 +00:00
parent 6f355ed0e6
commit 217f341abc

View File

@ -115,7 +115,7 @@ func rsvp(o opts) error {
huh.NewConfirm().Title("If the need arises are you ok sleeping on a couch?"). huh.NewConfirm().Title("If the need arises are you ok sleeping on a couch?").
Value(&couch), Value(&couch),
).WithHideFunc(func() bool { ).WithHideFunc(func() bool {
return being != "physical" && !lodging return being != "physical" || !lodging
}), }),
huh.NewGroup( huh.NewGroup(
huh.NewInput().Title("Do you have any food allergies I should be aware of?"). huh.NewInput().Title("Do you have any food allergies I should be aware of?").