Skip to content

Commit

Permalink
fix(input): apply readonly attribute when readonly (#7439)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andrewseguin authored Sep 30, 2017
1 parent 3c6f7a2 commit 01622b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down

0 comments on commit 01622b1

Please sign in to comment.