Skip to content

Commit

Permalink
docs: note about eager patching with FormWrapper
Browse files Browse the repository at this point in the history
Fixes #520
  • Loading branch information
marshallswain committed Sep 2, 2020
1 parent 2988f9e commit a9722b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/feathers-vuex-forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ The default slot contains only four attributes. The `clone` data can be passed
- `reset`: {Function} When called, the clone data will be reset back to the data that is currently found in the store for the same record.
- `remove`: {Function} When called, it removes the record from the API server and the Vuex store.
### Usage with `diffOnPatch`
If you plan to use the `diffOnPatch` static Model method together with the `FeathersVuexFormWrapper`, be sure to set the `eager` prop to `false`. See [this GitHub issue](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/520) for more details.
## FormWrapper Example: CRUD Form
### TodoView
Expand Down

0 comments on commit a9722b4

Please sign in to comment.