File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/LiveComponent/src/Resources/doc Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1204,7 +1204,6 @@ via the ``LiveCollectionType``::
1204
1204
use Symfony\Component\Form\FormBuilderInterface;
1205
1205
use Symfony\Component\OptionsResolver\OptionsResolver;
1206
1206
use Symfony\UX\LiveComponent\Form\Type\LiveCollectionType;
1207
- use Symfony\UX\LiveComponent\Attribute\LiveProp;
1208
1207
use App\Entity\BlogPost;
1209
1208
1210
1209
class BlogPostFormType extends AbstractType
@@ -1238,6 +1237,7 @@ Now, create a Twig component to render the form::
1238
1237
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
1239
1238
use Symfony\UX\LiveComponent\DefaultActionTrait;
1240
1239
use Symfony\UX\LiveComponent\LiveCollectionTrait;
1240
+ use Symfony\UX\LiveComponent\Attribute\LiveProp;
1241
1241
use App\Entity\BlogPost;
1242
1242
use App\Form\BlogPostFormType;
1243
1243
You can’t perform that action at this time.
0 commit comments