Skip to content

Commit

Permalink
Fix Talk type
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Oct 2, 2024
1 parent 597335b commit dc88740
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/Form/TalkType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use App\Enum\Track;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
use Symfony\Component\Form\Extension\Core\Type\EnumType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
Expand Down Expand Up @@ -45,8 +46,12 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'label' => 'app.ui.speakers',
])
->add('description')
->add('startsAt')
->add('endsAt')
->add('startsAt', DateTimeType::class, [
'widget' => 'single_text',
])
->add('endsAt', DateTimeType::class, [
'widget' => 'single_text',
])
;
}

Expand Down

0 comments on commit dc88740

Please sign in to comment.