Skip to content

Commit 518d52e

Browse files
committed
Reset should also remove input-validation-valid class!
1 parent 0693c55 commit 518d52e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ export class ValidationService {
586586
for (let uid of uids) {
587587
let input = this.elementByUID[uid] as HTMLInputElement;
588588
input.classList.remove('input-validation-error');
589+
input.classList.remove('input-validation-valid');
589590

590591
let spans = this.messageFor[input.name];
591592
if (spans) {

0 commit comments

Comments
 (0)