jQuery-QueryBuilder icon indicating copy to clipboard operation
jQuery-QueryBuilder copied to clipboard

Use the multiple property of rule operator instead of filter

Open matthewma7 opened this issue 8 years ago • 1 comments

I have similar needs as this https://github.com/mistic100/jQuery-QueryBuilder/issues/474

But as it is pointed by the author, changing the select element multiple attributes won't work (without special handling). https://github.com/mistic100/jQuery-QueryBuilder/issues/474#issuecomment-295874269.

But we have the multiple property at operator level. Could we use rule.operator.multiple instead of filter.multiple here? https://github.com/mistic100/jQuery-QueryBuilder/blob/dev/src/data.js#L378

matthewma7 avatar May 04 '17 13:05 matthewma7

This is need a bigger investigation of the possible breaking changes this induces. But it makes sense :-)

mistic100 avatar May 05 '17 16:05 mistic100