Skip to content

Commit

Permalink
ChoiceFieldMaskType inside CollectionType does not work - bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarosław Szafrański authored and VincentLanglet committed Nov 9, 2022
1 parent 1f85c62 commit 34d8c35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/Form/form_admin_fields.html.twig
Expand Up @@ -500,6 +500,7 @@ file that was distributed with this source code.
defaultFieldId = '#sonata-ba-field-container-{{ main_form_name }}-' + field;
}
// Some fields are rendered by form_widget (no container)
if (jQuery(defaultFieldId).length === 0) {
defaultFieldId = '#{{ main_form_name }}_' + field;
}
Expand Down

0 comments on commit 34d8c35

Please sign in to comment.