dabernathy89 / vue-query-builder

A UI component for building complex queries with nested conditionals.
https://dabernathy89.github.io/vue-query-builder/
MIT License
643 stars 157 forks source link

limit the number of (Add Rule and Add Group) #44

Closed mprabu0104 closed 4 years ago

mprabu0104 commented 5 years ago

Can we able to limit the number of children to add ( ie query-builder-group and query-builder-rule)

dabernathy89 commented 4 years ago

Hey @mprabu0104 - there's no built-in support for this, but it should be achievable if you use a custom template:

https://dabernathy89.github.io/vue-query-builder/custom-templates.html#setting-up-your-vue-instance