Home > front end >  [for] nailing should be build on the js code written PC cannot execute on his mobile phone no proble
[for] nailing should be build on the js code written PC cannot execute on his mobile phone no proble

Time:02-05

Code effect is by clicking the multiselect drop-down box, under the drop down box to choose to complete employee information to below filedtable

The export function onChange2 ({value} {
console.log('onChange', value);


Let the content="";
Var tableField=[];
Var obj={};
//if (the value displayName) {
{if (Array. IsArray (value))
For (var I=0; iThe content=value [I] displayName;
The content=content. the replace (/\ (/, "");
The content=content. the replace (\)/, "");
The content=content. the replace (/[a-z]/g, "");
The content=content. the replace ([0-9]/g, "");
Obj={
"TextField_kklcmnb7" : the content
};
TableField. Push (obj);
}
} else {
Obj={
"TextField_kklcmnb7" : the value
};
TableField. Push (obj);
}

This $(" tableField_kklcmnb6 "). The setValue (tableField);


}
  • Related