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

Validate if the form is pure 0.5.0+1 #82

Closed
andrefedev opened this issue Mar 6, 2023 · 1 comment
Closed

Validate if the form is pure 0.5.0+1 #82

andrefedev opened this issue Mar 6, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@andrefedev
Copy link

andrefedev commented Mar 6, 2023

I would like you to add to the FormMixin a method to calculate if the all fields embedded in the inputs field are pure. A good idea to know if the form is pure is by iterating over the inputs field and checking each one of its status.

bool get isPure => inputs.every((e) => e.isPure);

Thanks for the update to 0.5.0+, it was very important to split the statuses of the form field and the general status of the form submission.

@renancaraujo renancaraujo added the good first issue Good for newcomers label Mar 13, 2023
@Toavina23
Copy link
Contributor

I have filled a PR for this #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants