Skip to content
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

Form Groups do not behave the way they are described in documentation #2058

Closed
victorbstan opened this issue Feb 16, 2018 · 1 comment
Closed

Comments

@victorbstan
Copy link

victorbstan commented Feb 16, 2018

If this is a BUG REPORT:

  • Describe what you wanted to do and the wrong result you got.

I want to make use of "Form Groups" like in this tutorial: https://symfony.com/doc/current/bundles/EasyAdminBundle/book/edit-new-configuration.html#form-groups

However the form fields do no show up within the form group, they show up underneath it. I have included screenshots of my configuration as well as the view result and the documentation showing what I expect to see.

I suspect this happens when the form fields are added in the contoller

      $form->add('parent', EntityType::class, [
            'class' => User::class,
            'choices' => $userOptions,
            'disabled' => false
        ]);
        $form->add('child', EntityType::class, [
            'class' => User::class,
            'choices' => $userOptions,
            'disabled' => false
        ]);
        // Hidden
        $form->add('type', HiddenType::class, [
            'data' => UserRelationship::TYPE_MANAGER
        ]);
  • Include EasyAdmin version (it's displayed in the Symfony Debug Toolbar)

version: 1.17.10

  • (Optional) If they are useful, include logs, code samples, screenshots, etc.

screen shot 2018-02-16 at 3 05 03 pm

screen shot 2018-02-16 at 3 05 10 pm

screen shot 2018-02-16 at 3 05 24 pm

screen shot 2018-02-16 at 3 17 17 pm

@javiereguiluz
Copy link
Collaborator

I'm closing this issue because we're starting a new phase in the history of this bundle (see #2059). We've moved it into a new GitHub organization and we need to start from scratch: no past issues, no pending pull requests, etc.

I understand if you are angry or disappointed by this, but we really need to "reset" everything in order to reignite the development of this bundle.

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

No branches or pull requests

2 participants