Problem/Motivation
When adding a block with a hidden exposed filter, that has (for example) a range of values (From, To) the filter is hidden but the legend is still rendered
Steps to reproduce
1. Add a view with an exposed filter that has values "between", for example a date range
2. Add another exposed filter, simple value
3. Add an exposed filter block, hide the range filter
4. View it
Markup
<fieldset id="edit-date-wrapper--4" class="js-form-item form-item js-form-wrapper form-wrapper">
<legend>
<span class="fieldset-legend">Search Date Range</span>
</legend>
<div class="fieldset-wrapper">
<div class="hidden-exposed-filter">
Comments
Comment #2
aaron.ferris commentedComment #3
aaron.ferris commentedComment #7
fjgarlin commentedMR is ready for review: https://git.drupalcode.org/project/configurable_views_filter_block/-/mer...
Comment #8
fjgarlin commentedComment #9
fjgarlin commentedPlease credit @miguelsvq as he helped with the solution.
Comment #12
manuel.adanI have tested the solution and it is working fine, thank you all!
Comment #13
manuel.adan