Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #2781 Fixed ArrayFilterType issue and add support for multiple =>…
… false (yceruto) This PR was merged into the 2.0.x-dev branch. Discussion ---------- Fixed ArrayFilterType issue and add support for multiple => false By default, this filter does not provide any choices list, they are dynamic (tags-style). Now you can configure your own choices list for array filters: ```yaml easy_admin: entities: Products: # ... list: filters: - property: 'fieldname' type: 'array' # use this filter for `array`, `simple_array` and `json_array` types only. type_options: value_type_options: multiple: true # or false choices: { foo: 'foo', bar: 'bar' } attr: { data-widget: 'select2' } ``` Commits ------- 562995a Fix ArrayFilterType and add support for multiple => false
- Loading branch information
Showing
2 changed files
with
58 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters