8000 [Form] allow `empty_value` for expanded choice widget · Issue #6901 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] allow empty_value for expanded choice widget #6901

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
craue opened this issue Jan 28, 2013 · 2 comments
Closed

[Form] allow empty_value for expanded choice widget #6901

craue opened this issue Jan 28, 2013 · 2 comments
Labels

Comments

@craue
Copy link
Contributor
craue commented Jan 28, 2013

It should be possible to make an expanded (but not multiple) choice widget render an additional radio button for the empty_value option (if passed). Otherwise it's not possible to remove the selection if the field is not required. It should be selected by default if no other option is selected.

@amrkapthon
Copy link

I fully agree with this! It looks like an inconsistency to me.

@webmozart
Copy link
Contributor

Duplicate of #3154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0