mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
general layout improvements
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
<template>
|
||||
<!-- TODO label is not showing for some reason, for now in placeholder -->
|
||||
<!-- TODO support density prop -->
|
||||
<v-input :hint="props.hint" persistent-hint :label="props.label" class="">
|
||||
<v-input :hint="props.hint" persistent-hint :label="props.label" class="" >
|
||||
|
||||
<!-- TODO resolve-on-load false for now, race condition with model class, make prop once better solution is found -->
|
||||
<!-- TODO strange behavior/layering issues with appendTo body, find solution to make it work -->
|
||||
|
||||
<Multiselect
|
||||
:id="props.id"
|
||||
|
||||
:ref="`ref_${props.id}`"
|
||||
class="material-multiselect z-max"
|
||||
class="material-multiselect"
|
||||
:resolve-on-load="searchOnLoad"
|
||||
v-model="model"
|
||||
:options="search"
|
||||
@@ -31,6 +30,10 @@
|
||||
:noResultsText="$t('No_Results')"
|
||||
:loading="loading"
|
||||
@open="multiselect.refreshOptions()"
|
||||
append-to-body
|
||||
:classes="{
|
||||
dropdown: 'multiselect-dropdown z-3000',
|
||||
}"
|
||||
/>
|
||||
|
||||
</v-input>
|
||||
@@ -140,4 +143,8 @@ async function createObject(object: any, select$: Multiselect) {
|
||||
.multiselect-tag {
|
||||
background-color: #b98766 !important;
|
||||
}
|
||||
|
||||
.z-3000 {
|
||||
z-index: 3000;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user