On a clean new site >> system >> global config >> smart search >> smart search tab
Allow empty search = no
on /index.php?option=com_finder&view=search
Button has class="disabled"
When you enter a search term, I expect the disabled class to be removed
The disabled class is not removed until after the form has been submitted.
If you have Bootstrap this style makes the button unclickable.
.btn.disabled {cursor:not-allowed; pointer-events:none}
it probably needs something like ajaxchosen added to detect the inputs
Status | New | ⇒ | Information Required |
Status | Information Required | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Labels |
Added:
?
|
Category | Accessibility com_finder | ⇒ | com_finder |
Status | Discussion | ⇒ | Confirmed |
Labels |
Removed:
?
|
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-07-07 15:35:27 |
Closed_By | ⇒ | Quy |
That entire code needs review.
The aim of the option "allow empty search" is for when you have filters selected
So for example if i wanted to find all the articles from a specific author then I could simply select the filter. But if allow empty search is set to no then I cant do that.
I guess that what needs to happen is for the class disabled to be removed as soon as you type in the search box when "allow empty search" is set to no