-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Is your feature request related to a problem? Please describe.
I have a use case of a more complex form, but am not sure how to handle it:
For example, let's say I want to have a form where I can enter the data for a Person (which has a name and age). The name and age are simple FormzInputs. For the simple case where we have just 1 person, we can store the 2 fields inside a Bloc's state, and that's fine.
But now, it should be possible to dynamically add an arbitrary number of entries of Persons to the form (e.g. via a "+" button). How could that be handled? Of course, every single block should be validated. In the end, the information of the complete form should be retrieved.
Describe the solution you'd like
I would like to see a bit more complex examples either in the docs or as an example app (which could be referenced in the docs).
Describe alternatives you've considered
I have tried to look for popular projects that use formz in combination with bloc, but couldn't find any.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
