Open MaverickPOZ opened 7 months ago
Guys, we really need that functionality to select more than one option in all filter fields. This is not that hard but give us power mode to filter ! By default the category filter in articles list view already have that.
In forms folder just add to XML filter fields (list / select / sql / etc) below params:
multiple="true" layout="joomla.form.field.list-fancy-select" class="js-select-submit-on-change"
And now edit model folder with XML just like default CMS category field in articles list.
I done it by myself but I must edit all files after update component install.
Final effect should be like below:
Thank you for the suggestion. I am right in assuming that this would make ALL the filters multiselect, so that the best way to implement this would be to add a new checkbox in the interface that shows "[ ] Allow multiple selections" ?
I think that additional checkbox field in JCC is not required. In J4 all select / list fields should have multiple option select with search ability. Multiselect in edit form view is something else, we are talking only about data filtering in items list view.
Ah yes. So this is for filtering. Is Joomla offering this type of filter in their lists? If not, any idea why not? Wondering if it would make sense to also submit to Joomla core.
Yes - as I mentioned - please look at category filter in article list view.
In J4 we have by default many filter fields that allow to select multiple options and search by string. In JCC we have only to choose one option. No search or multi select ability.
When we have multiple select field (SQL, Foreign, Select list), there should be multiple select option in CMS filter.