Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update example for empty_data.inc #7328

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 1 commit into from
Closed

Conversation

keisetsu
Copy link

@keisetsu keisetsu commented Jan 7, 2017

'placeholder' needs to be in the 'attr' array.

'placeholder' needs to be in the 'attr' array.
@HeahDude
Copy link
Contributor

HeahDude commented Jan 7, 2017

Hi @keisetsu thank you for opening this PR but it's a duplicate of #7299.

Beside, this is a wrong fix since the ChoiceType has a placeholder option (a choice with an empty string value, see http://symfony.com/doc/current/reference/forms/types/choice.html#placeholder).

@keisetsu
Copy link
Author

keisetsu commented Jan 7, 2017

Very sorry about that! I originally came to the TextType page and misunderstood the example.

@keisetsu keisetsu closed this Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants