mistic100 / mistic100/jQuery-QueryBuilder
Intercept only change event triggered by the GUI
Open
@mistic100 is already working on this.
Since Sep 20, 2018.
feature
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 544
- PR merge metrics
- No merged PRs in 30d
Description
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.
- Do you know a mean so that setting rule with JSON (set_rule method) do not trigger afterCreateRuleInput event?
- Does it exist a property on event handler parameters which allows knowing change origin (rule initialization via set_rule or user via the GUI)?
- How to retrieve the new JSON data in the event Handler?
Regards
Fabrice
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.