Skip to content

Intercept only change event triggered by the GUI #726

Open
@fabricejumarie

Description

@fabricejumarie

Hi,

I use JQuery query builder in a angular child component and I meet many troubles with events.

When I initialize the query builder before displaying on my web page, I get the JSON data which contains the definition of the rule (condition, filters, operator...). That is not the problem because everything works fine so far.

The problem is I want to intercept all modification performed by the user via the GUI and only these modifcations and not the modification brought by the set_rule method.

  1. Do you know a mean so that setting rule with JSON (set_rule method) do not trigger afterCreateRuleInput event?
  2. Does it exist a property on event handler parameters which allows knowing change origin (rule initialization via set_rule or user via the GUI)?
  3. How to retrieve the new JSON data in the event Handler?

Regards

Fabrice

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions