hyva-themes / magento2-hyva-admin

This module aims to make creating grids and forms in the Magento 2 adminhtml area joyful and fast.
https://hyva-themes.github.io/magento2-hyva-admin/
BSD 3-Clause "New" or "Revised" License
168 stars 39 forks source link

Add source model provider attribute for filters #29

Closed Vinai closed 3 years ago

Vinai commented 3 years ago

There are use cases where a source model for a filter is needed, even though the column isn't an array attribute. When a source model is set on a filter, it should default to \Hyva\Admin\Model\GridFilter\SelectFilter for the filter type.

Vinai commented 3 years ago

Oh, this was already included in release 1.1.2.