From 7fd06f69b87b10ec40d076505ce4532e987d5565 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 7 Dec 2018 17:46:14 -0500 Subject: [PATCH] Use `.select` instead of `.selectAll` to propagate the bound data (closes #5573) --- modules/ui/field.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/field.js b/modules/ui/field.js index 0fef60cef..86ae3f9d0 100644 --- a/modules/ui/field.js +++ b/modules/ui/field.js @@ -138,10 +138,10 @@ export function uiField(context, presetField, entity, options) { container = container .merge(enter); - container.selectAll('.form-field-label > .remove-icon') + container.select('.form-field-label > .remove-icon') // propagate bound data .on('click', remove); - container.selectAll('.form-field-label > .modified-icon') + container.select('.form-field-label > .modified-icon') // propagate bound data .on('click', revert); container