Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit edb3613

Browse files
authored
fix(text-field): Reuse coerced disabled value (#1634)
1 parent 464dad8 commit edb3613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/textfield/text-field.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ export class MdcTextField extends _MdcTextFieldMixinBase implements AfterViewIni
531531
const newValue = toBoolean(isDisabled);
532532

533533
if (newValue !== this._disabled) {
534-
this._disabled = toBoolean(isDisabled);
534+
this._disabled = newValue;
535535
this._foundation.setDisabled(this._disabled);
536536
}
537537
this._changeDetectorRef.markForCheck();

0 commit comments

Comments
 (0)