Skip to content

Commit 63e5d4b

Browse files
committed
Fix: flag interacted when we have a server validation error
1 parent 0d598d7 commit 63e5d4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

validation-output.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class ValidationOutput extends HTMLElement {
4141
#initializeServerError() {
4242
if (!this.innerHTML.trim()) return;
4343

44+
// Flag is interacted so that the user can remove the error message on input.
45+
this.#interacted = true;
4446
this.#serverError = this.innerHTML;
4547
this.#serverErrorValue = this.#for.value;
4648

0 commit comments

Comments
 (0)