You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you start off with a normal preset, and then change it to a suggestion preset by using the name field, and then try to delete the suggestion tags, sometimes iD will not delete them:
Root cause is because d3 has bound the initial field to the delete button, which thinks only name tag needs to be removed. Then later the field implementation has manipulated the field.keys list to include the full list of tags to remove. The fix is to make sure that the updated field is bound to the buttons in the update selection by using select() instead of selectAll.
(this is a common D3 gotcha)
The text was updated successfully, but these errors were encountered:
If you start off with a normal preset, and then change it to a suggestion preset by using the name field, and then try to delete the suggestion tags, sometimes iD will not delete them:
Root cause is because d3 has bound the initial field to the delete button, which thinks only
name
tag needs to be removed. Then later the field implementation has manipulated thefield.keys
list to include the full list of tags to remove. The fix is to make sure that the updated field is bound to the buttons in the update selection by usingselect()
instead ofselectAll
.(this is a common D3 gotcha)
The text was updated successfully, but these errors were encountered: