Skip to content

Commit

Permalink
chore: delete custom validation when setting a validationType
Browse files Browse the repository at this point in the history
Related to #1162
  • Loading branch information
Skaiir committed Apr 24, 2024
1 parent 7c2f78f commit 279b605
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class ValidateBehavior extends CommandInterceptor {

delete newValidate.minLength;
delete newValidate.maxLength;
delete newValidate.custom;
delete newValidate.pattern;

properties['validate'] = newValidate;
Expand Down

0 comments on commit 279b605

Please sign in to comment.