jega
|
|
« on: December 24, 2022, 03:06:29 AM » |
|
If i have this code, and change field from status to typeName, the combobox still have the values from status combobox, not the values from typeName
$('#fb').filterbuilder({ rules: [{ op: 'or', children: [{ field: 'status', op: 'equal', value: '1' }] }], fields: [ { field:'status', title:'Status', editor:{ type:'combobox', options:{ editable:false, width: '200px', data:[ {value:'0',text:'Under udvikling'}, {value:'1',text:'Aktiv'}, {value:'2',text:'Afsluttet'}, {value:'3',text:'Pause'} ] } } },{ field:'typeName', title:'Type', editor:{ type:'combobox', options:{ editable:false, width: '200px', data:[ {value:'Fagspecialist',text:'Fagspecialist'}, {value:'Processejer',text:'Processejer'} ] } } } ], operators: opList })
|