EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

[FEATURE] Possibility to add pagination on ChoiceField / AssociationField

Open john-dufrene-dev opened this issue 3 years ago • 1 comments

Give the option to add pagination I would like to know if it is possible to set up pagination in associationField and choiceField

This feature would aim to significantly reduce a query on a large number of items (test on 10k+ fields and it's very long)

There is the autocomplete() functionality but this functionality we do not see the default items contrary to a pagination

how to use this feature

Something simple that allows to add pagination something like this :

 yield AssociationField::new('company')
    ->addPagination();

@javiereguiluz I can work on it if you are interested of this feature

john-dufrene-dev avatar Jun 20 '22 20:06 john-dufrene-dev

Anyone have any ideas about it ? I'm trying to create it but no idea how to do that

john-dufrene-dev avatar Aug 07 '22 16:08 john-dufrene-dev