Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving the rules #92

Open
tkakar opened this issue Oct 31, 2022 · 2 comments
Open

Preserving the rules #92

tkakar opened this issue Oct 31, 2022 · 2 comments
Labels
question Further information is requested

Comments

@tkakar
Copy link

tkakar commented Oct 31, 2022

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.

@rtucek rtucek added the question Further information is requested label Oct 31, 2022
@rtucek
Copy link
Owner

rtucek commented Oct 31, 2022

@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:

@tkakar
Copy link
Author

tkakar commented Nov 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants