I have a model with a dropdown field called "note", with the following options :
- Very bad
In my backend listing, I would like to add a filter based on the note. I defined a config_filter.yaml file as follow :
scopes: categories: label: Note conditions: note in (:filtered) options: ??????
I need to replace the ????? with something that will display the options defined in my dropdown, but I don't know how to do that. The documentation have no example about how to retrieve the dropdown options to display them as a filter.
Thanks for your help.
options: pending: Pending active: Active closed: Closed
@Troiscent do you mean you want to reuse the Model's note field options defined in the model?
1-4 of 4