diff --git a/src/index.ts b/src/index.ts index 23b927a..1d3e9d3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1291,8 +1291,8 @@ export class ValidationService { * @param input * @returns */ - private isDisabled(input: HTMLElement) { - return input.getAttribute('disabled') !== null; + private isDisabled(input: ValidatableElement) { + return input.disabled; } /**