Skip to content

Commit 0c90141

Browse files
committed
fix(input-group): textarea missing disabled styling
1 parent 7e1ef5a commit 0c90141

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

projects/igniteui-angular/src/lib/core/styles/components/input/_input-group-component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@
169169
@include e(input) {
170170
@extend %form-group-input--disabled !optional;
171171
}
172+
173+
@include e(textarea) {
174+
@extend %form-group-textarea--disabled !optional;
175+
}
172176
}
173177

174178
@include m(cosy) {

projects/igniteui-angular/src/lib/core/styles/components/input/_input-group-theme.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,14 @@
979979
}
980980
}
981981

982+
%form-group-textarea--disabled {
983+
color: --var($theme, 'disabled-text-color') !important;
984+
985+
&::placeholder {
986+
color: --var($theme, 'disabled-placeholder-color');
987+
}
988+
}
989+
982990
%form-group-textarea--cosy {
983991
min-height: rem(82px, map-get($base-scale-size, 'cosy'));
984992
margin-#{$right}: -#{rem(16px, map-get($base-scale-size, 'cosy'))};

0 commit comments

Comments
 (0)