From 79df51dbbbd2b3dcf9836f7daf49a7afbbf64729 Mon Sep 17 00:00:00 2001 From: ralf Date: Sun, 24 Jul 2022 09:31:58 +0200 Subject: [PATCH] show "Search" as placeholder fix sometimes not modified ]+)/>#m'; +const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|searchbox|textbox|label|avatar|lavatar|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m'; const ADD_ET2_PREFIX_LEGACY_LAST_GROUP = 2; // switch evtl. set output-compression off, as we can't calculate a Content-Length header with transparent compression diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 82ab7c9478..9220be523c 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3325,7 +3325,8 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext self.nextmatch.applyFilters({search: this.get_value()}); }, value: settings.search || '', - fix: !egwIsMobile() + fix: !egwIsMobile(), + placeholder: egw.lang("Search"), }; // searchbox widget this.et2_searchbox = loadWebComponent('et2-searchbox', searchbox_options, this);