diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 17:46:44 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 17:46:44 +0000 |
| commit | 8664ad155c89d47affd94f8b0385ebf39841f1f8 (patch) | |
| tree | b1f6c33a2666a483e39093fa310ea3483b655c62 /components/editor/task/ConfigurationRow.vue | |
| parent | cc2f3987c3f6386da140fefcb1998cb1eef18839 (diff) | |
Add YAML modal
Diffstat (limited to 'components/editor/task/ConfigurationRow.vue')
| -rw-r--r-- | components/editor/task/ConfigurationRow.vue | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/components/editor/task/ConfigurationRow.vue b/components/editor/task/ConfigurationRow.vue index 98a644c..666669d 100644 --- a/components/editor/task/ConfigurationRow.vue +++ b/components/editor/task/ConfigurationRow.vue @@ -76,12 +76,13 @@ const addValue = (searchQuery: any) => { <TrueFalseSwitch v-else-if="props.type === 'boolean'" :value="!!currentValue" @update="updateValue" /> <!-- Data type 'material-list' --> - <multiselect v-else-if="props.type === 'material-list'" v-model="currentValue" :options="materials" - :multiple="true" :taggable="true" :searchable="true" placeholder="Enter material name" /> + <multiselect v-else-if="props.type === 'material-list'" v-model="currentValue" class="configuration-multiselect" + :options="materials" :multiple="true" :taggable="true" :searchable="true" placeholder="Enter material name" /> <!-- Data type 'string-list' --> - <multiselect v-else-if="props.type === 'string-list'" v-model="currentValue" :options="[]" @tag="addValue" - :multiple="true" :taggable="true" :searchable="true" placeholder="Enter string" /> + <multiselect v-else-if="props.type === 'string-list'" v-model="currentValue" class="configuration-multiselect" + :options="[]" @tag="addValue" :multiple="true" :taggable="true" :searchable="true" + placeholder="Enter string" /> <!-- Data type 'itemstack' --> <ItemStackPicker v-else-if="props.type === 'itemstack'" :value="currentValue" @update="updateValue" /> @@ -181,13 +182,4 @@ input { .error { color: var(--color-false); } - -:deep(.multiselect) .multiselect__tags { - border: unset !important; - border-radius: 0px !important; -} - -:deep(.multiselect) .multiselect__select { - background: unset !important; -} </style>
\ No newline at end of file |
