Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filters "default_value" configuration option is not usable on PHP configuration #318

Open
jbcr opened this issue Jan 3, 2024 · 1 comment

Comments

@jbcr
Copy link

jbcr commented Jan 3, 2024

Problem

The YAML configuration option default_value for filters is not usable with the PHP configuration.

The default_value type is mixed on the YAML configuration. The value is stored in the criteria property of Sylius\Component\Grid\Definition\Filter.
But on grid builder (Sylius\Bundle\GridBundle\Builder\Filter\Filter), the criteria property is type array instead of mixed.

@loic425
Copy link
Member

loic425 commented Jan 3, 2024

Seems to be fixed on #274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants