Open Guilouf opened 1 year ago
Like other options of the builder provided at init
$('#builder-basic').queryBuilder({
plugins: {
invert: null,
},
operatorOpposites: {
'equal': 'not_equal',
}
});
(no idea why this was done here and not in the plugin's options...)
BTW here is the default config (yours will be merged with it)
https://github.com/mistic100/jQuery-QueryBuilder/blob/dev/src/plugins/invert/plugin.js#L65-L91
I see here in the doc https://querybuilder.js.org/plugins.html#invert that i need to update
operatorOpposites
andconditionOpposites
in order to my customs operatorsRight, but how do i update these ? I tried something like
but it have no effects. Am i supposed to directly modify the plugin source code ??