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

Optional Form Section #481

Open
tommyneu opened this issue May 1, 2023 · 0 comments
Open

Optional Form Section #481

tommyneu opened this issue May 1, 2023 · 0 comments

Comments

@tommyneu
Copy link
Contributor

tommyneu commented May 1, 2023

One thing we use a lot at UNL is optional sections to forms. This includes checkboxes or buttons that when clicked will reveal new inputs to fill out.

This can not be achieved with the way toggle buttons are set up in their current form. Toggle buttons would hide the inputs but anything that is required in the optional section would prevent the form from being submitted.

An example of a use case is in our events system. An event does not need a location, but if it does have a location that location needs an address.

These optional form section components would either need to store the optional part when toggled or modifications would need to be made to the toggle button to remove the require attribute off the inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant