From 009dff5584fea6398bb99aa55760d25dafd7fbcc Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 9 Nov 2021 12:42:44 -0500 Subject: [PATCH] fix(md/label): apply error appearance when control is touched (#24072) --- core/src/components/label/label.md.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/label/label.md.scss b/core/src/components/label/label.md.scss index 0b6347604c..217e3a7a4c 100644 --- a/core/src/components/label/label.md.scss +++ b/core/src/components/label/label.md.scss @@ -137,8 +137,8 @@ color: #{current-color(base)}; } -:host-context(.ion-invalid).label-stacked:not(.ion-color), -:host-context(.ion-invalid).label-floating:not(.ion-color) { +:host-context(.ion-invalid.ion-touched).label-stacked:not(.ion-color), +:host-context(.ion-invalid.ion-touched).label-floating:not(.ion-color) { color: var(--highlight-color-invalid); }