|
@@ -7,6 +7,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
|
|
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
|
|
use Symfony\Component\Form\Extension\Core\Type\DateType;
|
|
|
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
|
|
|
+use Symfony\Component\Form\Extension\Core\Type\TextType;
|
|
|
use AuditBundle\Services\AuditDataService;
|
|
|
|
|
|
class AuditFilterType extends AbstractType
|
|
@@ -54,7 +55,7 @@ class AuditFilterType extends AbstractType
|
|
|
'multiple' => true,
|
|
|
'choice_translation_domain' => false,
|
|
|
))
|
|
|
- ->add('idx', null, array(
|
|
|
+ ->add('idx', TextType::class, array(
|
|
|
'required' => false,
|
|
|
))
|
|
|
->add('dateFrom', DateType::class, array(
|
|
@@ -75,7 +76,7 @@ class AuditFilterType extends AbstractType
|
|
|
'class' => 'datepicker',
|
|
|
),
|
|
|
))
|
|
|
- ->add('searchValue', null, array(
|
|
|
+ ->add('searchValue', TextType::class, array(
|
|
|
'required' => false,
|
|
|
))
|
|
|
->add('resxpage', ChoiceType::class, array(
|