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
How to pre-fill a form for record update? #3
Comments
Yep, we need to add that to the docs too. Fields can be given an initial value with |
... and namespace? :-) |
What about the namespace? Are you talking about module namespaces? |
Yep. The docs discuss namespaced modules, but if an external entity writes to the store what is the command? Maybe your example could include a namespaced module, written to by the first one? |
Using direct mutations is not fully supported yet. Please see #6. Once support for that has been added we can update the docs to reflect it. However, the namespacing is just standard vuex namespacing. The current mutations are:
To call them directly you just call |
The docs and demo need to show the steps to mutate the store so that the form is filled.
Is there a mutation for the entire form? Must it be mutated one field at a time?
Where is the namespace used and how?
The text was updated successfully, but these errors were encountered: