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

[WIP] [2.7+] explicit differences between 'data' & 'empty_data' options in FormType #6265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
HeahDude committed Feb 12, 2016
commit 8fa74d9200c0b2ea2c1e142bd87689d0f0c06b11
2 changes: 1 addition & 1 deletion 2 reference/forms/types/options/empty_data.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DEFAULT_PLACEHOLDER

This option determines what value the field will return when the submitted
value is empty. It does not set an initial value if none is provided when
the form is rendered in a view (see `Data` or `Placeholder` options).
the form is rendered in a view (see ``data`` or ``placeholder`` options).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to link the options

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can some one tell me how can I do it?


It helps you handling form submission and you can customize this to your needs.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could maybe remove "customize" as this is the point of an option.
It could be "It helps you handling form submission, for example, [...]"

For example, if you want the ``gender`` choice field to be explicitly set to ``null``
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.