diff --git a/checkbox/internal/checkbox.ts b/checkbox/internal/checkbox.ts index e78248db6b..21a8ee03b5 100644 --- a/checkbox/internal/checkbox.ts +++ b/checkbox/internal/checkbox.ts @@ -204,11 +204,11 @@ export class Checkbox extends checkboxBaseClass { this.checked = state === 'true'; } - [createValidator]() { + override [createValidator]() { return new CheckboxValidator(() => this); } - [getValidityAnchor]() { + override [getValidityAnchor]() { return this.input; } }