mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 07:26:12 +00:00
import multiselect (wip)
This commit is contained in:
parent
9cce62c294
commit
d06a4b1ca9
@ -42,6 +42,16 @@
|
|||||||
{{ modal.data.to }}
|
{{ modal.data.to }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div><!--
|
||||||
|
<VueMultiselect
|
||||||
|
id="relationshipLink"
|
||||||
|
:placeholder="$t('Choisissez le lien de parenté')"
|
||||||
|
:options="relationLinks"
|
||||||
|
v-model="relationshipLink"
|
||||||
|
>
|
||||||
|
</VueMultiselect>
|
||||||
|
-->
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
phrase
|
phrase
|
||||||
</p>
|
</p>
|
||||||
@ -64,11 +74,13 @@
|
|||||||
import vis from 'vis-network/dist/vis-network'
|
import vis from 'vis-network/dist/vis-network'
|
||||||
import { mapState, mapGetters } from "vuex"
|
import { mapState, mapGetters } from "vuex"
|
||||||
import Modal from 'ChillMainAssets/vuejs/_components/Modal'
|
import Modal from 'ChillMainAssets/vuejs/_components/Modal'
|
||||||
|
import VueMultiselect from 'vue-multiselect'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
components: {
|
components: {
|
||||||
Modal,
|
Modal,
|
||||||
|
VueMultiselect
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -205,6 +217,14 @@ export default {
|
|||||||
this.modal.button.text = 'action.delete'
|
this.modal.button.text = 'action.delete'
|
||||||
this.modal.showModal = true
|
this.modal.showModal = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
relationLinks() {
|
||||||
|
console.log('fetch relationLinks')
|
||||||
|
return getRelations().then(relationsList => new Promise(resolve => {
|
||||||
|
console.log('relationsList', relationsList)
|
||||||
|
resolve()
|
||||||
|
})).catch()
|
||||||
|
},
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
TODO / TO CHECK / TO UNDERSTAND
|
TODO / TO CHECK / TO UNDERSTAND
|
||||||
|
Loading…
x
Reference in New Issue
Block a user