8000 [Form] Type "submit" should be assumed for children named "submit" · Issue #8785 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Type "submit" should be assumed for children named "submit" #8785

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
webmozart opened this issue Aug 19, 2013 · 1 comment
Closed

Comments

@webmozart
Copy link
Contributor

If I do

$builder->add('submit');

and $submit is not a property that can be mapped in the model, the type submit should be assumed.

The same should be the case for reset.

@webmozart
Copy link
Contributor Author

I'm closing this. When I opened this issue, I didn't realize how much code is necessary to implement this functionality. @FineWolf did a great job in #9592, but I don't think that changing/adding that much code to enable a very simple feature is worth it.

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

No branches or pull requests

1 participant
0