Skip to content

Commit

Permalink
Merge 882e314 into faa4c00
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Oct 3, 2021
2 parents faa4c00 + 882e314 commit 1332c88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Resources/assets/dist/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var _default = /*#__PURE__*/function (_Controller) {
});
}

(0, _symfonyCollectionJs["default"])(this.element, options);
(0, _symfonyCollectionJs["default"])(this.element.querySelector('.collection-js-root'), options);
}
}]);

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/assets/src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export default class extends Controller {
};
}

formCollection(this.element, options);
formCollection(this.element.querySelector('.collection-js-root'), options);
}
}
2 changes: 1 addition & 1 deletion src/Resources/views/bootstrap_5_layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% endblock collection_js_row %}

{% block collection_js_widget %}
<div class="accordion">
<div class="accordion collection-js-root">
{{ block('form_widget') }}
</div>

Expand Down

0 comments on commit 1332c88

Please sign in to comment.