Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Šůstek committed Aug 26, 2024
1 parent 8178dfc commit 4456611
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,7 @@ export class ValidationService {

this.highlight(input,
this.ValidationInputCssClassName,
this.ValidationInputValidCssClassName
);
this.ValidationInputValidCssClassName);

if (input.form) {
// Adding an error to one input should also add it to others with the same name (i.e. for radio button and checkbox lists).
Expand Down Expand Up @@ -1290,8 +1289,7 @@ export class ValidationService {

this.unhighlight(input,
this.ValidationInputCssClassName,
this.ValidationInputValidCssClassName,
);
this.ValidationInputValidCssClassName);

// Removing an error from one input should also remove it from others with the same name (i.e. for radio button and checkbox lists).
if (input.form) {
Expand Down

0 comments on commit 4456611

Please sign in to comment.