How to reproduce:
1. The "Dropdown" widget is selected for the facet.
2. Place this facet on the view page (the view should not use Ajax).
3. Select any option from the drop-down list.
4. Try resetting the facet value by selecting the default option.
Result:
Click on default option doesn't reload page. Error in console:
Uncaught TypeError: Cannot read property 'click' of undefined
at HTMLSelectElement.<anonymous> (dropdown-widget.js?v=8.5.4:74)
at HTMLSelectElement.dispatch (jquery.min.js?v=3.2.1:3)
at HTMLSelectElement.q.handle (jquery.min.js?v=3.2.1:3)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dropdown-default-2984151-4.patch | 1.39 KB | nileshlohar |
Comments
Comment #2
anjalikhandelwal commentedPlease attach some screenshots for better understanding
Comment #3
qzmenkoSeems like #2826449: Ajax Facets blocks for views broken the functionality of the drop-down widget that does not use ajax:
When you click on the default option,
var ais empty in the drop-down list. Because of this, clicking on the default option does not work and the js error in the console appears.Comment #4
nileshlohar commentedGot the same issue.
I fixed it by a attached patch.
Comment #5
strykaizerExperienced the same issue
#4 seems to fix it.
Gonna push priority here
Comment #6
borisson_Committed and pushed.
Comment #8
borisson_