fix(input): apply readonly attribute when readonly (#7439)

* fix(input): apply readonly attribute when readonly

Fixes issue where the readonly attribute was no longer applied because it was made to be an `@Input`

* Update input.ts
This commit is contained in:
Andrew Seguin
2017-09-30 08:09:10 -07:00
committed by GitHub
parent 3c6f7a276e
commit 01622b1c00
+1
View File
@@ -59,6 +59,7 @@ let nextUniqueId = 0;
'[placeholder]': 'placeholder',
'[disabled]': 'disabled',
'[required]': 'required',
'[readonly]': 'readonly',
'[attr.aria-describedby]': '_ariaDescribedby || null',
'[attr.aria-invalid]': 'errorState',
'(blur)': '_focusChanged(false)',