mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
wip: use Input not BlurInput in tableeditor
BlurInput adds a "check" button we don't want here.
This commit is contained in:
parent
96c9bf9413
commit
a101309e03
1 changed files with 1 additions and 1 deletions
|
@ -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)}`,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue