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

MustMatchValidator validator, optional markAsTouched #457

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MatteMirror
Copy link

Connection with Issues

  • None

Solution Description

The markAsTouched variable inside the mustMatch validator has been made optional. The changes were implemented in both the MustMatchValidator class and the mustMatch validator inside the validators.dart file.

Breakdown of changes:

  • Optional markAsTouched: The markAsTouched parameter is now optional, with a default value of true (resulting in no changes in current behavior).
  • Updated Constructor: The constructor of the MustMatchValidator class has been updated to reflect the optional markAsTouched parameter.
  • Validator Function: The mustMatch validator function in validators.dart has been updated to pass the optional markAsTouched parameter.

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

Successfully merging this pull request may close these issues.

1 participant