Skip to content

[RFC][DX] New command to debug form types #23688

Closed
@yceruto

Description

@yceruto
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes
Symfony version 3.4

These are some questions and issues that we could make us when we are building/using a form type or type extension:

  • Why is not my extension being applied to the form type?
  • Why is not available my new option in the child type?
  • What are the defined options for my form?
  • What options are required?
  • I want to modify the default value of an option but I don't know if this value is allowed, where was this option defined to know that?
  • etc.

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?

debug-form

Can this help us?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)FeatureForm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions