From a101309e031c62b27d1b67360ee84e9512fd25e1 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 12 Jul 2024 12:31:50 +0200 Subject: [PATCH] wip: use Input not BlurInput in tableeditor BlurInput adds a "check" button we don't want here. --- umap/static/umap/js/modules/tableeditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/tableeditor.js b/umap/static/umap/js/modules/tableeditor.js index 343d7a40..21cc8778 100644 --- a/umap/static/umap/js/modules/tableeditor.js +++ b/umap/static/umap/js/modules/tableeditor.js @@ -214,7 +214,7 @@ export default class TableEditor extends WithTemplate { const field = `properties.${property}` const tr = event.target.closest('tr') const feature = this.datalayer.getFeatureById(tr.dataset.feature) - const handler = property === 'description' ? 'Textarea' : 'BlurInput' + const handler = property === 'description' ? 'Textarea' : 'Input' const builder = new U.FormBuilder(feature, [[field, { handler }]], { id: `umap-feature-properties_${L.stamp(feature)}`, })