diff --git a/src/scripts/components/input.ts b/src/scripts/components/input.ts index 6b809ef5..e1817758 100644 --- a/src/scripts/components/input.ts +++ b/src/scripts/components/input.ts @@ -76,14 +76,12 @@ export default class Input { enable(): void { const el = this.element; el.removeAttribute('disabled'); - el.hidden = false; this.isDisabled = false; } disable(): void { const el = this.element; el.setAttribute('disabled', ''); - el.hidden = true; this.isDisabled = true; }