This commit is contained in:
Niels Lyngsø
2024-04-11 13:30:00 +02:00
parent 4dd107f295
commit 235d5c040d

View File

@@ -96,8 +96,6 @@ export class UmbFormControlValidator extends UmbControllerBase implements UmbVal
}
destroy(): void {
console.log('destroy form control validator. GOOD THIS SHOULD HAPPEN.');
if (this.#control) {
this.#control.removeEventListener(UmbValidationInvalidEvent.TYPE, this.#setInvalid);
this.#control.removeEventListener(UmbValidationValidEvent.TYPE, this.#setValid);