Skip to content

Commit 01622b1

Browse files
authored
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
1 parent 3c6f7a2 commit 01622b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/input/input.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ let nextUniqueId = 0;
5959
'[placeholder]': 'placeholder',
6060
'[disabled]': 'disabled',
6161
'[required]': 'required',
62+
'[readonly]': 'readonly',
6263
'[attr.aria-describedby]': '_ariaDescribedby || null',
6364
'[attr.aria-invalid]': 'errorState',
6465
'(blur)': '_focusChanged(false)',

0 commit comments

Comments
 (0)