Replaced :invalid with :user-invalid so inputs won't be invalid on page load
This commit is contained in:
parent
66805bc2b6
commit
f37635829d
|
@ -8130,13 +8130,13 @@ pre,
|
||||||
}
|
}
|
||||||
.error :is(.hmn-form input),
|
.error :is(.hmn-form input),
|
||||||
.hmn-form input.error,
|
.hmn-form input.error,
|
||||||
.hmn-form input:invalid,
|
.hmn-form input:user-invalid,
|
||||||
.error :is(.hmn-form textarea),
|
.error :is(.hmn-form textarea),
|
||||||
.hmn-form textarea.error,
|
.hmn-form textarea.error,
|
||||||
.hmn-form textarea:invalid,
|
.hmn-form textarea:user-invalid,
|
||||||
.error :is(.hmn-form select),
|
.error :is(.hmn-form select),
|
||||||
.hmn-form select.error,
|
.hmn-form select.error,
|
||||||
.hmn-form select:invalid {
|
.hmn-form select:user-invalid {
|
||||||
border-color: var(--border-color-error);
|
border-color: var(--border-color-error);
|
||||||
}
|
}
|
||||||
.hmn-form input:disabled,
|
.hmn-form input:disabled,
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
.error &,
|
.error &,
|
||||||
&.error,
|
&.error,
|
||||||
&:invalid {
|
&:user-invalid {
|
||||||
border-color: var(--border-color-error);
|
border-color: var(--border-color-error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue