on remplie les options du select avec la bonne cle de recherche
This commit is contained in:
parent
e90aa0667d
commit
feae594659
2 changed files with 15 additions and 11 deletions
|
@ -319,7 +319,7 @@ let monTableau = {
|
||||||
this.filtreCol.forEach((col) => {
|
this.filtreCol.forEach((col) => {
|
||||||
let Tval = [''];
|
let Tval = [''];
|
||||||
this.tableau.forEach((t) => {
|
this.tableau.forEach((t) => {
|
||||||
let valCol = t.html[col];
|
let valCol = t[this.champ_search][col];
|
||||||
if (Tval.indexOf(valCol) === -1) {
|
if (Tval.indexOf(valCol) === -1) {
|
||||||
Tval.push(valCol);
|
Tval.push(valCol);
|
||||||
this.filtreColValOk = true;
|
this.filtreColValOk = true;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue