-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fix errors in composer container page #1623
Fix errors in composer container page #1623
Conversation
a444b96
to
84a2b84
Compare
I am trying an alternative for: #1611 Wip atm. |
50f4dcf
to
6f96017
Compare
if (false !== $isComposer) { | ||
$form->add('enabled', HiddenType::class, ['data' => true]); | ||
} else { | ||
$form->add('enabled'); | ||
} | ||
|
||
$form->end(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is better this way, this looks more similar to what we do on shared blocks.
->add('type', ServiceListType::class, ['context' => 'sonata_page_bundle']) | ||
->add('enabled') | ||
->add('position', IntegerType::class) | ||
->add('type', ServiceListType::class, ['context' => 'sonata_page_bundle']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing indentation. better to code readability.
92ca695
to
66b6a1e
Compare
Could you please rebase your PR and fix merge conflicts? |
66b6a1e
to
c313f4e
Compare
Ready to merge @jordisala1991 ? |
Subject
I am targeting this branch, because this is a problem for 4.0, since some blocks were removed.
Closes #1611
Changelog