This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
RomaldyMinaya
Hi,
If you're implementing list filter and don't want to specify the options hardcoded in the config_filter.yaml file be sure to know this:
status:
modelClass: Vendor\Plugin\Models\YourModel
label: 'vendor.plugin::lang.labels.status'
type: group
conditions: status in (:filtered)
options: getStatusOptions
Don't forget to specify the modelClass parameter. This took me an entire morning debuggin the Filter widget class. Hope it helps.
1-4 of 4