Fix disabled labels appearance

This commit is contained in:
Bubka 2024-03-08 15:07:48 +01:00
parent e6d201d882
commit 480268a606

View File

@ -55,7 +55,7 @@
<FontAwesomeIcon class="has-text-grey" :icon="['fas', 'chevron-right']" transform="rotate-135"/> <FontAwesomeIcon class="has-text-grey" :icon="['fas', 'chevron-right']" transform="rotate-135"/>
</div> </div>
<div class="field" :class="{ 'is-flex-grow-5' : isIndented }"> <div class="field" :class="{ 'is-flex-grow-5' : isIndented }">
<label :for="inputId" class="label" v-html="$t(label)"></label> <label :for="inputId" class="label" :style="{ 'opacity': isDisabled ? '0.5' : '1' }" v-html="$t(label)"></label>
<div class="control" :class="{ 'has-icons-left' : leftIcon, 'has-icons-right': rightIcon }"> <div class="control" :class="{ 'has-icons-left' : leftIcon, 'has-icons-right': rightIcon }">
<input <input
:disabled="isDisabled" :disabled="isDisabled"