filtre par input, on ajoute un button pour vider le champ

This commit is contained in:
Christophe 2022-04-14 22:33:44 +02:00
parent 440d01fcf3
commit e980c4c9bb
5 changed files with 16 additions and 2 deletions

View file

@ -181,6 +181,10 @@ td.icone i {
margin-right: 1rem;
}
.viderInputSearch {
color: #ff0000;
}
/* blocks widths (percentage and pixels) */
.w100 {
width: 100%;

File diff suppressed because one or more lines are too long

View file

@ -149,6 +149,10 @@ td.icone i {
margin-right: 1rem;
}
.viderInputSearch {
color: #ff0000;
}
/* blocks widths (percentage and pixels) */
$i: 100;
@while $i > 0 {

View file

@ -762,6 +762,12 @@ let monTableau = {
placeholder="Rechercher"
@keyup="selectValCol"
>
<button
v-if="filtreColType[head] === 'input' && filtreColSelected[head]"
@click.stop="filtreColSelected[head] = ''"
title="Vider ce champ"
class="gamutable__input--rechercher"
> X</button>
</div>
</th>
</tr>

File diff suppressed because one or more lines are too long