Skip to content

Commit

Permalink
Update modelInjection.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrelogan committed Jun 1, 2017
1 parent 8e62be9 commit 7e18834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modelInjection.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ render() {

### True injection

Default values are only used if there is no corresponding value in your form's state object. They are most useful when you are in 'create' mode rather than 'edit' or 'update' mode.
Default values are only used if there is no corresponding value in your form's state object. They are most useful when you are initializing an empty form in 'create' mode rather than loading pre-existing data into a form in 'edit' or 'update' mode.

You can alternatively load a provided model directly into your state. This is generally a better approach that facilitates dynamic forms:

Expand Down

0 comments on commit 7e18834

Please sign in to comment.