fix for modal button being actually disabled and keep styling
This commit is contained in:
parent
09a3a52554
commit
149cea422b
2 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,6 @@
|
||||||
loaderColor="white"
|
loaderColor="white"
|
||||||
:buttonText="footerButtonText"
|
:buttonText="footerButtonText"
|
||||||
:class="(isButtonDisabled || isFooterButtonDisabled) && 'form-test-invalid'"
|
:class="(isButtonDisabled || isFooterButtonDisabled) && 'form-test-invalid'"
|
||||||
:isDisabled="(isButtonDisabled || isFooterButtonDisabled)"
|
|
||||||
@clickEvent="validateAndEmit" />
|
@clickEvent="validateAndEmit" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -27,11 +27,12 @@ $limu-button-color: #A9E3E9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
&.btn-override[aria-disabled="false"]{
|
&.btn-override[aria-disabled="false"]:not(.form-test-invalid) {
|
||||||
&.btn-primary {
|
&.btn-primary {
|
||||||
background: $limu-button-color !important;
|
background: $limu-button-color !important;
|
||||||
color: $limu-button-text-color !important;
|
color: $limu-button-text-color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
background: $limu-button-color !important;
|
background: $limu-button-color !important;
|
||||||
color: $limu-button-text-color !important;
|
color: $limu-button-text-color !important;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue