SOLVED: Stray Closing Input Tags in Filter Elements

I’m encountering an HTML standard error related to the tags in several brick files: filter-search.php, filter-datepicker.php, and filter-range.php. The issue arises from the use of the tag.

To fix this, for example the filter-search.php, I modified the following line:
//echo "<input {$this->render_attributes('_root')}></input>";

Update it to:
echo "<input {$this->render_attributes('_root')} />";

This adjustment will correct the HTML syntax by ensuring the <input> tags are self-closing.

Hi Chris,
Thanks for the suggestion for improvement. I have created an internal task for this.

Best regards,
timmse

Hi Chris,
We’ve fixed this issue in Bricks 1.11.1, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.11.1 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse