-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[RFC][DX] New command to debug form types #23688
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
Comments
I would absolutely find value in such a debug command. |
Great feature! |
One of the things i always have to look up ... |
This PR was merged into the 3.4 branch. Discussion ---------- [Form] Add debug:form command | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23688 | License | MIT | Doc PR | -  A short class name (e.g. `DateType`) can be passed as `class` argument too (the command will try to resolve its FQCN if it's in known form type namespaces). Commits ------- 4f040d7 Add debug:form command
This PR was merged into the 3.4 branch. Discussion ---------- [Form] Add debug:form command | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony/symfony#23688 | License | MIT | Doc PR | -  A short class name (e.g. `DateType`) can be passed as `class` argument too (the command will try to resolve its FQCN if it's in known form type namespaces). Commits ------- 4f040d78fe Add debug:form command
Hi there, I'm using this command, but I think is something that could be also useful to add to it. I don't see any possibility to check the fields of the given form to this command. How can I check form fields types? I thought this command would provide such functionality, but I don't know how. Thanks. |
@pribeirojtm Can you open a new issue if you would like to propose enhancements for an existing feature? Comments on closed issues/PRs are likely to get lost. |
@xabbuh , done that. Thanks |
Uh oh!
There was an error while loading. Please reload this page.
These are some questions and issues that we could make us when we are building/using a form type or type extension:
Generally, I use the documentation to know what options are available, required, etc. I guess that keeping this options list updated is quite cumbersome and still there are options missing, e.g those defined by type extensions.
What about add a new command
debug:form
to get information from form types?Can this help us?
The text was updated successfully, but these errors were encountered: