wip: use Input not BlurInput in tableeditor

BlurInput adds a "check" button we don't want here.
This commit is contained in:
Yohan Boniface 2024-07-12 12:31:50 +02:00
parent 96c9bf9413
commit a101309e03

View file

@ -214,7 +214,7 @@ export default class TableEditor extends WithTemplate {
const field = `properties.${property}` const field = `properties.${property}`
const tr = event.target.closest('tr') const tr = event.target.closest('tr')
const feature = this.datalayer.getFeatureById(tr.dataset.feature) 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 }]], { const builder = new U.FormBuilder(feature, [[field, { handler }]], {
id: `umap-feature-properties_${L.stamp(feature)}`, id: `umap-feature-properties_${L.stamp(feature)}`,
}) })