filtre par input, on ajoute un button pour vider le champ
This commit is contained in:
parent
440d01fcf3
commit
e980c4c9bb
5 changed files with 16 additions and 2 deletions
|
@ -181,6 +181,10 @@ td.icone i {
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.viderInputSearch {
|
||||||
|
color: #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
/* blocks widths (percentage and pixels) */
|
/* blocks widths (percentage and pixels) */
|
||||||
.w100 {
|
.w100 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -149,6 +149,10 @@ td.icone i {
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.viderInputSearch {
|
||||||
|
color: #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
/* blocks widths (percentage and pixels) */
|
/* blocks widths (percentage and pixels) */
|
||||||
$i: 100;
|
$i: 100;
|
||||||
@while $i > 0 {
|
@while $i > 0 {
|
||||||
|
|
|
@ -762,6 +762,12 @@ let monTableau = {
|
||||||
placeholder="Rechercher"
|
placeholder="Rechercher"
|
||||||
@keyup="selectValCol"
|
@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>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue