quand on vide un input, on met aussi a jour le localstorage
This commit is contained in:
parent
b0cff239e4
commit
14fd9efba1
2 changed files with 10 additions and 2 deletions
|
@ -426,6 +426,10 @@ let monTableau = {
|
|||
}
|
||||
localStorage.setItem('header_' + this.nameLocalStorage, JSON.stringify($header));
|
||||
},
|
||||
deleteInputSearch(head) {
|
||||
this.loadingVueSelect = false;
|
||||
this.filtreColSelected[head] = [];
|
||||
},
|
||||
hanldeSearchInput(event, head) {
|
||||
this.searchInputHead = head;
|
||||
this.searchInputVal = event.target.value;
|
||||
|
@ -818,7 +822,7 @@ let monTableau = {
|
|||
>
|
||||
<button
|
||||
v-if="filtreColType[head] === 'input' && filtreColSelected[head].length !== 0"
|
||||
@click.stop="filtreColSelected[head] = []"
|
||||
@click.stop="deleteInputSearch(head)"
|
||||
title="Vider ce champ"
|
||||
class="gamutable__input--filtrer"
|
||||
>X</button>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue