Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4fd2d96

Browse filesBrowse files
HeahDudewouterj
authored andcommitted
Addressed @stof's comment
1 parent 242941a commit 4fd2d96
Copy full SHA for 4fd2d96

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: reference/forms/types/options/data.rst.inc
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.