on utilise un slot pour avoir la main sur le html du tag lors du select, a voir s'il faut le rendre configurable

This commit is contained in:
Christophe 2022-04-07 15:51:51 +02:00
parent c56047ae20
commit 806c62a5af
5 changed files with 17 additions and 3 deletions

View file

@ -2,6 +2,10 @@
font-size: 1.2rem;
}
.tag--ub {
display: inline-block;
}
.gamutable--surTable select,
.gamutable--surTable input {
margin-bottom: 0;

File diff suppressed because one or more lines are too long

View file

@ -4,6 +4,9 @@
.vue-tags .vue-tag.selected {
font-size: 1.2rem;
}
.tag--ub {
display: inline-block;
}
// ----------------------------
// Fin de la surcharge de vue-next-select
// ----------------------------

View file

@ -704,7 +704,14 @@ let monTableau = {
searchable
@selected="selectValCol"
@search:input="hanldeSearchInput($event, head)"
></vue-select>
>
<template #tag="{ option, remove }">
<div class="tag--un">
{{ option }}
<span class="tag--remove pointer" title="Cliquer pour supprimer "@click.stop="remove">x</span>
</div>
</template>
</vue-select>
<input
v-if="filtreColType[head] === 'input'"

File diff suppressed because one or more lines are too long