Hello,
I have a model with a dropdown field called "note", with the following options :
- Excellent
- Good
- Average
- Bad
- 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.