sulu / SuluCommunityBundle

Community features like Login, Registration, Password forget/reset for your sulu application.
MIT License
30 stars 39 forks source link

Simplify form types and fix compatibility to sulu 2 and symfony 4 #107

Closed alexander-schranz closed 5 years ago

alexander-schranz commented 5 years ago
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

Use property_path instead of nested forms for easier creating forms.

Fix also compatibility to current sulu 2 develop and symfony 4

Why?

The profile form was very complex over 4 classes and could not handled well where which field should be rendered. With having only one form type using property_path its easy for the developer to create a custom form which fields are order they way he wanted.

TODO