on passe par la cle search car on ne peut pas mettre de code html dans une option d'un select
This commit is contained in:
parent
cd360d87ce
commit
eedcc6c03f
2 changed files with 4 additions and 4 deletions
|
@ -238,7 +238,7 @@ let monTableau = {
|
|||
if (rsearch) {
|
||||
let colValue = this.filtreColSelected[colName];
|
||||
if (colValue) {
|
||||
if (ligne.html[colName] !== colValue) {
|
||||
if (ligne.search[colName] !== colValue) {
|
||||
rsearch = false;
|
||||
}
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ let monTableau = {
|
|||
this.filtreCol.forEach((col) => {
|
||||
let Tval = [''];
|
||||
this.table.forEach((t) => {
|
||||
let valCol = t.html[col];
|
||||
let valCol = t.search[col];
|
||||
if (Tval.indexOf(valCol) === -1) {
|
||||
Tval.push(valCol);
|
||||
}
|
||||
|
|
|
@ -289,7 +289,7 @@ var monTableau = {
|
|||
var colValue = _this2.filtreColSelected[colName];
|
||||
|
||||
if (colValue) {
|
||||
if (ligne.html[colName] !== colValue) {
|
||||
if (ligne.search[colName] !== colValue) {
|
||||
rsearch = false;
|
||||
}
|
||||
}
|
||||
|
@ -402,7 +402,7 @@ var monTableau = {
|
|||
var Tval = [''];
|
||||
|
||||
_this3.table.forEach(function (t) {
|
||||
var valCol = t.html[col];
|
||||
var valCol = t.search[col];
|
||||
|
||||
if (Tval.indexOf(valCol) === -1) {
|
||||
Tval.push(valCol);
|
||||
|
|
Loading…
Add table
Reference in a new issue