Skip to content

Mistake in example datagrid brand filters? #189

@karelVanGeerdeghom

Description

@karelVanGeerdeghom

Hello,
In the examples/CustomBundle/Resources/config/datagrid/brand.yml file I see this code:

    filters:
        columns:
            code:
                type:      string
                label:     Code
                data_name: rd.code
            fabric:
                type:  choice
                label: Fabric
                data_name: o.fabric
                options:
                    field_options:
                        multiple: true
                        choices: '@acme_custom.repository.choice.fabric->getChoices'

I had to change the data_name of fabric to rd.fabric instead of o.fabric to get it to work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions