mistic100 / mistic100/jQuery-QueryBuilder

Group argument in validation is null when calling 'setRules'

Open
#701 5 comments 0 reactions 1 assignee View on GitHub

@mistic100 is already working on this.

Since Jun 6, 2018.

bug
Dominant language
JavaScript
Stars
1.7k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have an issue, after update to latest version of this plugin, with setting rules.
After declare and fill with filters is ok, but the problem is when I just call :
$('#ruleGenerator1').queryBuilder('setRules', {"condition":"AND","rules":[{"id":"8","field":"8","operator":"greater","value":["1"],"not":false}]});

then in console

querybuilder

Any ideas what I'm doing wrong or how to fix it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.