Skip to content

Commit 3498129

Browse files
- guarrantee invalid state border just for unchecked state;
1 parent ab0b5ce commit 3498129

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/src/components/checkbox/checkbox.ionic.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,9 @@ input {
199199
// --------------------------------------------------
200200
:host(.ion-invalid) {
201201
--focus-ring-color: #{globals.$ion-border-focus-error};
202-
203-
.native-wrapper {
204-
border-color: globals.$ion-border-danger-default;
205-
}
206202
}
207203

204+
:host(.ion-invalid:not(.checkbox-checked)),
208205
:host(.ion-invalid:not(.checkbox-checked).checkbox-disabled) {
209206
.native-wrapper {
210207
border-color: globals.$ion-border-danger-default;

0 commit comments

Comments
 (0)