diff --git a/umap/static/umap/js/umap.core.js b/umap/static/umap/js/umap.core.js index 636f17af..b2d3e7d6 100644 --- a/umap/static/umap/js/umap.core.js +++ b/umap/static/umap/js/umap.core.js @@ -706,7 +706,7 @@ L.U.Help = L.Class.extend({ slugKey: L._('The name of the property to use as feature unique identifier.'), filterKey: L._('Comma separated list of properties to use when filtering features'), facetKey: L._( - 'Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|date)' + 'Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control data type, add it after another | (eg.: mykey|My Key|enum,otherkey|Other Key|date)' ), interactive: L._('If false, the polygon or line will act as a part of the underlying map.'), outlink: L._('Define link to open in a new window on polygon click.'), diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index fe87feda..3d6249e1 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -1364,7 +1364,7 @@ L.U.Map.include({ { handler: 'Input', helpEntries: 'facetKey', - placeholder: L._('Example: key1,key2|Label 2,key3|Label 3|checkbox'), + placeholder: L._('Example: key1,key2|Label 2,key3|Label 3|enum'), label: L._('Facet keys'), }, ], @@ -2035,7 +2035,7 @@ L.U.Map.include({ const els = curr.split('|') acc[els[0]] = { "label": els[1] || els[0], - "type": els[2] || "checkbox" + "type": els[2] || "enum" } return acc }, {})