Commit abcf30f9 authored by Martin Keereman's avatar Martin Keereman
Browse files

Issue #3015743 by Ashok Gj: BEF removes placeholder for textfields when...

Issue #3015743 by Ashok Gj: BEF removes placeholder for textfields when autosubmit excludes textfield
parent 843cd06a
......@@ -707,7 +707,7 @@ class BetterExposedFilters extends InputRequired {
foreach ($form as &$element) {
$element_type = $element['#type'] ?? NULL;
if (in_array($element_type, $supported_types)) {
$element['#attributes'] = ['data-bef-auto-submit-exclude' => ''];
$element['#attributes']['data-bef-auto-submit-exclude'] = '';
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment