Skip to content

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.

@joanpablo
Copy link
Owner

Hi @MatteMirror. Thank you for the PR. Would you mind to elaborate on the use cases this PR would be helpful?

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.

2 participants