Skip to content

Commit 4fd2d96

Browse files
HeahDudewouterj
authored andcommitted
Addressed @stof's comment
1 parent 242941a commit 4fd2d96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/forms/types/options/data.rst.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ the form or any nested field, you can set it in the data option::
2020
The default values for form fields are taken directly from the underlying
2121
data structure matching the field's name with a property of an object or a
2222
key of an array. The ``data`` option overrides this default value.
23+
It means that when the data passed to the form is an object you want to
24+
edit, the `data` option will also override the value already set.

0 commit comments

Comments
 (0)