Disable add group to sub group not working
See original GitHub issueIn my index.coffee
$('#builder').on 'click', '.btn-custom-group', (e) ->
builder = $('#builder')
root = builder.queryBuilder 'getModel'
group = builder.queryBuilder('addGroup', root, false)
group.flags.no_add_group = true
group.flags.no_add_rule = true
console
group.flags
i got this:
{condition_readonly: false, no_add_rule: true, no_add_group: true, no_delete: false, no_sortable: false, …}
condition_readonly: false
no_add_group: true
no_add_rule: true
no_delete: false
no_drop: false
no_sortable: false
__proto__: Object
but my sub group add group
button still not disabled, any idea?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Add a group to another group - Google Workspace Admin Help
Groups. On the Groups list, point to the group that will become the parent group. In the parent group row, click Add members....
Read more >Optionally disable group membership inheritance: MVC - GitLab
Current solution for this problem: When adding users via SAML at parent level group (namespace), users inherent down to subgroups and projects.
Read more >Group or ungroup messages in your Inbox - Microsoft Support
Disable the Grouping feature On the View menu, point to Arrange By, and then click Show in Groups. If Show in Groups is...
Read more >Create and manage groups of contacts on iCloud.com
Click the contact, then press the Delete key. Delete a group. When you delete a group, the contacts it contains remain in the...
Read more >Managing nested groups | Administering Jira applications ...
If you add a user to a group, the user is added to the named group and not to any other groups. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Your call to addGroup is wrong, you put “root” before the method name.
And please help yourself by not using the minimised file while developing.
Sent from MailDroid
-----Original Message----- From: Kiry Meas notifications@github.com To: mistic100/jQuery-QueryBuilder jQuery-QueryBuilder@noreply.github.com Cc: Damien Sorel contact@git.strangeplanet.fr, Mention mention@noreply.github.com Sent: ven., 14 déc. 2018 8:21 Subject: Re: [mistic100/jQuery-QueryBuilder] Disable add group to sub group not working (#752)
@mistic100, thank you for obvious instruction, but when I passed direct flags object options, another error occurred.
Error Msg:
– You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/mistic100/jQuery-QueryBuilder/issues/752#issuecomment-447238105
@mistic100 Thanks a lot.