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

order filters in alphabetical order in grid #295

Open
dhiabenjaber opened this issue Feb 20, 2023 · 0 comments
Open

order filters in alphabetical order in grid #295

dhiabenjaber opened this issue Feb 20, 2023 · 0 comments

Comments

@dhiabenjaber
Copy link

dhiabenjaber commented Feb 20, 2023

        filters:
            search:
                type: string
                label: sylius.ui.search
                options:
                    fields: [email, username, firstName, lastName]
            enabled:
                type: boolean
                label: sylius.ui.enabled
            **shops:
                type: entity
                label: app.ui.users.search_by_shop
                options:
                    fields: [shops.id]
                form_options:
                    class: '%app.model.shop.class%'
                    choice_label: 'labelUsers'**

this is my grid i want to display the filters in shops with alphabetical order there is no way to pass something like sortable: true to order the filters or customize sth like that ?? i want to display labelUsers in alphabetical order
Thanks

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

1 participant