From 1597cd731e044a7dcfe9a9f8372d74079ae082dd Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 25 Sep 2023 14:35:27 +0200 Subject: [PATCH] Data browser: add back placeholder --- umap/static/umap/js/umap.browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.browser.js b/umap/static/umap/js/umap.browser.js index c773dcbb..29ef98f3 100644 --- a/umap/static/umap/js/umap.browser.js +++ b/umap/static/umap/js/umap.browser.js @@ -116,7 +116,7 @@ L.U.Browser = L.Class.extend({ }) } const fields = [ - ['options.filter', { handler: 'Input' }], + ['options.filter', { handler: 'Input', placeholder: L._('Filter') }], ['options.inBbox', { handler: 'Switch', label: L._('Current map view') }], ] const builder = new L.U.FormBuilder(this, fields, {