rtucek/vue-query-builder

Preserving the rules

Opened this issue · 2 comments

I was wondering if there is an easy way to store and reload all the selections on the query-builder when it is remounted? Thank you.

@tkakar "easy" is relative :)

The query builder does actually only use Vue's idiomatic component v-model API. However, it does not manage the state or representation of a rule component itself -> this will always be subject to the individual component itself.

However, :it shouldn't be complicated either to implement that. Please refer to these 2 pages in the Query Builder docs:

@rtucek thanks for responding. I used dynamic components and Vuex to achieve this.