- Issue created by @joaopauloc.dev
- Merge request !37Adding Allow clear option to the exposed filter plugin. → (Open) created by joaopauloc.dev
Currently, there is no option to configure the Allow clear option from select2.
Using select2 field widget only the placeholder option is available.
Sometimes we need to enable this option on the select, even if the select2 box is not multiple.
Since the select2 allows to clear option without multiple options available. We should add this option in this filter too.
Add any select filter on your view.
Set the better exposed filter.
Choose the select2 field widget.
You can see only the placeholder option available.
Add another setting to set this flag too.
- Add unit test to clear option feature.
Needs work
1.15
Views integration