Skip to content

Commit

Permalink
Fix for displaymode
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 10, 2023
1 parent 6eb0fd9 commit 8fa8bf9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Form/BookFilterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
},
]);

$builder->add('displayMode', Type\HiddenType::class, [
'data' => 'list',
'mapped' => false,
'target_callback' => function (QueryBuilder $qb, ?string $orderByValue): void {

},
]);

$builder->add('submit', Type\SubmitType::class, [
'label' => 'Filter',
'attr' => [
Expand Down

0 comments on commit 8fa8bf9

Please sign in to comment.