Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 9a3893e

Browse files
author
Ralph Sto. Domingo
authored
Update <LocalForm> docs
Addresses #774.
1 parent 6e7e84c commit 9a3893e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guides/local.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The `<LocalForm>` component takes all the [props from the `<Form>` component](..
3838

3939
### Notes
4040
- `redux` and `react-redux` _are_ still required as peer dependencies. This just allows you to not have to set up the boilerplate; e.g., the store and reducers.
41+
- `<LocalForm>` does not accept partial models. Instead of `model=".name"`, you can use `model="local.name"`.
4142
- As with any React component, whenever the `<LocalForm>` is unmounted, the component's internal state is _gone_. This can be desirable (or undesirable) depending on your use case, so take this into consideration.
4243
- Just like with `<Form>`, the props `onSubmit` and `onSubmitFailed` will work as expected.
4344

0 commit comments

Comments
 (0)