fix disabled classes
This commit is contained in:
parent
55b5d2c5d7
commit
672bedaf6d
3 changed files with 4 additions and 1 deletions
|
|
@ -553,6 +553,7 @@ textarea {
|
|||
&[disabled="disabled"],
|
||||
&.disabled {
|
||||
cursor: not-allowed;
|
||||
color: var(--textFaint);
|
||||
}
|
||||
|
||||
&[type="range"] {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<label
|
||||
v-if="matchesExpertLevel"
|
||||
class="ChoiceSetting"
|
||||
:class="{ 'faint': shouldBeDisabled }"
|
||||
>
|
||||
<template v-if="backendDescriptionLabel">
|
||||
{{ backendDescriptionLabel }}
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
{{ ' ' }}
|
||||
<Select
|
||||
:model-value="realDraftMode ? draft : state"
|
||||
:disabled="disabled"
|
||||
:disabled="shouldBeDisabled"
|
||||
@update:model-value="update"
|
||||
>
|
||||
<option
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
<input
|
||||
:id="path"
|
||||
class="input string-input"
|
||||
:class="{ disabled: shouldBeDisabled }"
|
||||
:disabled="shouldBeDisabled"
|
||||
:value="realDraftMode ? draft : state"
|
||||
@change="update"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue