Hi everyone, First of all, many thanks for all the work done in this bundle. here my issue: In my entity: ``` /** * @ORM\Column(type="boolean") */ private $state; ``` In my form: ``` $builder->add('state', Filters\ChoiceFilterType::class, [ 'choices' => [ 'Validated' => true, 'To validate' => false, ], ]); ``` In my controller: ``` if ($form->isSubmitted() && $form->isValid()) { $queryBuilder->addFilterConditions($form, $filterBuilder); } ``` This code generate: Undefined constant Doctrine\DBAL\Types\Type::STRING when I submit the form with a valid value (select 'Validated' or 'To Validated'). With null it's ok... Any help on it will be great ! Regards,
Hi everyone,
First of all, many thanks for all the work done in this bundle.
here my issue:
In my entity:
In my form:
In my controller:
This code generate:
Undefined constant Doctrine\DBAL\Types\Type::STRING
when I submit the form with a valid value (select 'Validated' or 'To Validated'). With null it's ok... Any help on it will be great !
Regards,