stubbed out generic form modal

This commit is contained in:
smilerz
2021-08-27 16:48:19 -05:00
parent 30b513cb58
commit 23ecce7930
21 changed files with 278 additions and 636 deletions

View File

@@ -0,0 +1,36 @@
<template>
<div>
<b-form-group
v-bind:label="label"
class="mb-3">
<generic-multiselect
label="name"
:initial_selection="[]"
search_function="listSupermarketCategorys"
:multiple="false"
:sticky_options="[{'id': null,'name': $t('None')}]"
style="flex-grow: 1; flex-shrink: 1; flex-basis: 0"
:placeholder="$t('Shopping_Category')">
</generic-multiselect>
</div>
</template>
<script>
import GenericMultiselect from "@/components/GenericMultiselect";
export default {
name: 'LookupInput',
components: {GenericMultiselect},
props: {
label: {type: String, default: 'Lookup Field'},
show_delete: {type: Boolean, default: true},
show_move: {type: Boolean, default: false},
show_merge: {type: Boolean, default: false},
},
methods: {
Button: function(e) {
this.$bvModal.show('modal')
}
}
}
</script>