Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: conditional From Field visiblity #472

Open
jonas-grgt opened this issue Nov 18, 2024 · 0 comments
Open

Feature request: conditional From Field visiblity #472

jonas-grgt opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jonas-grgt
Copy link

jonas-grgt commented Nov 18, 2024

Forms with conditional field visibility are not currently supported.

I want the fields visibility and participation in a From Group to depend on the value of another Field.

One idea I had to add this is using the same pattern used for other dynamic features of forms.

huh.NewForm(huh.NewGroup(huh.NewInput().EnableFunc(func() bool() { ...
@caarlos0 caarlos0 added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants