Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

remove 'placeholder' from empty-data example#7299

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
teameh wants to merge1 commit intosymfony:masterfromteameh:master

Conversation

@teameh
Copy link

This snippet is also included on the [TextType Field] page (http://symfony.com/doc/current/reference/forms/types/text.html) and might trick novice Symfony dev's into using the placeholder for the TextType as well. I think the placeholder can be removed here making the example even more to the point.

image

@HeahDude
Copy link
Contributor

Prior to symfony 2.6placeholder option was namedempty_value which could lead to even more confusion.

Not sure this is still relevant though, but I've also a WIP for this option (#6265) that will remove this all together anyway.

@teameh
Copy link
Author

Prior to symfony 2.6 placeholder option was named empty_value which could lead to even more confusion.

Check, I'm new here, thanks.

Not sure this is still relevant though, but I've also a WIP for this option (#6265) that will remove this all together anyway.

And it's still WIP because you've only changed the docs so far right?

xabbuh added a commit that referenced this pull requestMay 4, 2017
…s more visisble (HeahDude, wouterj, javiereguiluz)This PR was merged into the 2.7 branch.Discussion----------[Form] Make difference between data and empty_data options more visisbleFinishes#6265Fixes#7299,#7596Commits-------64e3984 Fixed a minor typodf9b878 Fixed a minor typof375489 Better explain empty_data valuesd552ea3 Readd mixed type for empty_data, it can be string, array or object188f0ab Tried to write the important points more explicitly5f3813d Updated the example add added a caution4fd2d96 Addressed@stof's comment242941a improved accuracy67c93b6 fix typo87b3542 explicit differences between 'data' & 'empty_data' in FormType
@xabbuh
Copy link
Member

Thank you for proposing this change@teameh. I have to close here nonetheless as this change is also covered by#7802 which made some more changes.

@xabbuhxabbuh closed thisMay 5, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@teameh@HeahDude@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp