mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user