Skip to content

Commit

Permalink
fix: corrected maxLength validator error name (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Axion741 committed Aug 23, 2024
1 parent 61d2e2f commit c2e3702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform/src/lib/validators/max-length.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function maxLength(length: number): ValidatorFn<string | Array<unknown>>
setState('VALID');
} else {
setState('INVALID', {
minLength: {
maxLength: {
details: {
currentLength: value.length,
maxLength: length
Expand Down

0 comments on commit c2e3702

Please sign in to comment.