Fixes invalid class to is-danger state on date input.
This commit is contained in:
parent
f538ee53f7
commit
1e6e79b236
|
@ -31,7 +31,8 @@
|
|||
flex-direction: column;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(200, 200, 200, 0.3);
|
||||
overflow: hidden; }
|
||||
overflow: hidden;
|
||||
box-sizing: border-box; }
|
||||
.wp-block-tainacan-item-submission-form .item-submission-form-placeholder .fake-text {
|
||||
background-color: var(--tainacan-label-color, rgba(200, 200, 200, 0.3));
|
||||
height: 0.25em;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
<b-input
|
||||
:id="'tainacan-item-metadatum_id-' + itemMetadatum.metadatum.id + (itemMetadatum.parent_meta_id ? ('_parent_meta_id-' + itemMetadatum.parent_meta_id) : '')"
|
||||
:disabled="disabled"
|
||||
:class="{'is-danger': isInvalidDate && dateValue}"
|
||||
:custom-class="{ 'is-danger': isInvalidDate && dateValue }"
|
||||
type="text"
|
||||
v-mask="dateMask"
|
||||
v-model="dateValue"
|
||||
|
|
|
@ -595,7 +595,7 @@
|
|||
</div>
|
||||
<div class="wp-block-button">
|
||||
<button
|
||||
:disbuttonbled="showTermsAgreementCheckbox && !userHasAgreedToTerms"
|
||||
:disabled="showTermsAgreementCheckbox && !userHasAgreedToTerms"
|
||||
@click="onSubmit()"
|
||||
type="button"
|
||||
class="wp-block-button__link wp-element-button">
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
border-radius: 4px;
|
||||
border: 1px solid rgba(200,200,200, 0.3);
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
|
||||
.fake-text {
|
||||
background-color: var(--tainacan-label-color, rgba(200,200,200, 0.3));
|
||||
|
|
Loading…
Reference in New Issue