Skip to content

Instantly share code, notes, and snippets.

View bluntelk's full-sized avatar

Jason Playne bluntelk

View GitHub Profile
@ker0x
ker0x / EnhancedCollectionType.php
Last active September 4, 2024 18:53
Enhanced Symfony Form CollectionType with Stimulus
<?php
declare(strict_types=1);
namespace App\Form;
use App\Form\Util\StringUtil;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\FormInterface;