Data browser: add back placeholder

This commit is contained in:
Yohan Boniface 2023-09-25 14:35:27 +02:00
parent 0ad6e425b5
commit 1597cd731e

View file

@ -116,7 +116,7 @@ L.U.Browser = L.Class.extend({
}) })
} }
const fields = [ const fields = [
['options.filter', { handler: 'Input' }], ['options.filter', { handler: 'Input', placeholder: L._('Filter') }],
['options.inBbox', { handler: 'Switch', label: L._('Current map view') }], ['options.inBbox', { handler: 'Switch', label: L._('Current map view') }],
] ]
const builder = new L.U.FormBuilder(this, fields, { const builder = new L.U.FormBuilder(this, fields, {