mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Update feature names in the selection list while typing in the name field (close #7334)
This commit is contained in:
@@ -128,7 +128,11 @@ export function uiSelectionList(context) {
|
||||
.text(function(entity) { return context.presets().match(entity, context.graph()).name(); });
|
||||
|
||||
items.selectAll('.entity-name')
|
||||
.text(function(entity) { return utilDisplayName(entity); });
|
||||
.text(function(d) {
|
||||
// fetch latest entity
|
||||
var entity = context.entity(d.id)
|
||||
return utilDisplayName(entity);
|
||||
});
|
||||
}
|
||||
|
||||
function updateTitle() {
|
||||
|
||||
Reference in New Issue
Block a user