Skip to content

Commit

Permalink
minor #465 Add missing use statement for LiveCollectionType (zairigimad)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 2.x branch.

Discussion
----------

Add missing use statement for LiveCollectionType

| Q             | A
| ------------- | ---
| Bug fix?      | yes/no
| New feature?  | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Features and deprecations must be submitted against branch main.
-->

Commits
-------

aee0dea Add missing use statement for LiveCollectionType
  • Loading branch information
jameswebapp committed Sep 19, 2022
2 parents 2d31033 + 7cd95b0 commit c87273a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LiveComponent/src/Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ Now, create a Twig component to render the form::
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
use Symfony\UX\LiveComponent\DefaultActionTrait;
use Symfony\UX\LiveComponent\LiveCollectionTrait;
use Symfony\UX\LiveComponent\Attribute\LiveProp;
use App\Entity\BlogPost;
use App\Form\BlogPostFormType;

Expand Down

0 comments on commit c87273a

Please sign in to comment.