The search toolbar should support ordinary input elements for filtering (mainly for clearing them). It basically works already, but the clear button doesn't clear the input elements, only the select boxes. This means adding an input field can't be cleared anymore after once filled with a value.
Testing instructions
Testing it properly, can only be done with a component which does add input filters and not only select boxes. The following testing steps will add an input field to the articles manager of com_content. Please keep in mind that the article filter has no impact on the search result itself.
Add the following XML tag to the file administrator/components/com_content/models/forms/filter_articles.xml
<field name="modal_id" type="modal_article"
label="COM_CONTENT_FIELD_SELECT_ARTICLE_LABEL"
required="true"
edit="true"
clear="false"
description="COM_CONTENT_FIELD_SELECT_ARTICLE_DESC"
onchange="this.form.submit();"
/>
Go to content articles on the back end.
Click on "Search Tools" and select an article on the new input field.
With the patch the input field gets cleared, without it stays with the selected article.
I have tested this item successfully on 9caa49c
@test
Applied patch, Cleared browser cache, Tested successfully.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8175.