Damien Sorel

Results 165 comments of Damien Sorel

Your issue is too vague I don't know what your are trying to accomplish and **what you already tried**.

1. prevent the existing rules from being modified (if you want) As documented here https://querybuilder.js.org/#method-setRules ```js $viewer.queryBuilder('setRules', { condition: 'AND', rules: [{ filter: 'F1', operator: 'equal', value: 'something', readonly: true,...

This are two completely separated features and work together very well. Sent from MailDroid -----Original Message----- From: Harshal Chavan To: mistic100/jQuery-QueryBuilder Cc: Damien Sorel , Comment Sent: lun., 13 avr....

> Later I discovered that I had to add the 'unique' field to both rules as well as filters. Well this is wrong, there is no "unique" property on the...

It looks like you are using a custom control for the list of filters, so it's probably your best shot. The builder has no such option for the standard filter...

This is not possible out of the box, you will need to listen to events "afterAddGroup" and "afterAddRule" and modify the model. The source of the sortable plugin is a...

You can have two levels with optgroups https://github.com/mistic100/jQuery-QueryBuilder/issues/207 Or you can enabled search with bt-selectpicker ou chosen-selectpicker plugins https://github.com/mistic100/jQuery-QueryBuilder/issues/530 I'll keep this issue open, but clearly I don't like to...

Did you read the issue #530 I linked ?

As I said in the other issue, everything can be done with plugins and event hooks. You could for example initialize your filters with optgroups and have hook on "afterCreateRuleFilters"...

For this to work with filters using `table.column` as **field**, the field should allow an array, otherwise it will be serialized as ```` `table.column` ```` instead of ```` `table`.`column` ````...