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]: Form Groups #419
Comments
Just wanted to leave some additional context: We sometimes have quite complex forms that have a lot of fields that are only visible on a certain condition, say for example a billing and a delivery address, they are basically the same, but one is only used under the condition that the two are not the same. So FormGroups can be a great way to structure a form as well. |
+1 At AWS, a common pattern we implement is a “Wizard” pattern which guides a user through a multi-step form. Example: https://cloudscape.design/examples/react/wizard.html |
I'm currently working on a multi-step form, similar to a wizard. The proposed |
@timothyac we're not quite ready for this feature yet as part of our 1.x release, but we'll work on it soon after! That said, I'd love to help the AWS team figure out how to integrate Cloudscape with TanStack Form when it's ready. If y'all need any help with anything, let me know (even via DMs - they're open) |
Description
When building a form stepper, like so:
It's common for each step to have its own form. However, this complicates the form submission and validation process by requiring you to add complex logic.
Ideally, it would be nice to have a FormGroup where you could validate the group, but not the form itself -
submit
the value and move on to the next step.Describe the solution you'd like
What if there was something like this psuedo-API?
The text was updated successfully, but these errors were encountered: