From 1c1f40cf8089852603eeec1532f304e73d65c2ff Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 21 May 2020 10:52:32 -0400 Subject: [PATCH] Fix issue with maxspeed field updating --- modules/ui/fields/maxspeed.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ui/fields/maxspeed.js b/modules/ui/fields/maxspeed.js index a8b5eca7f..0bbee9f10 100644 --- a/modules/ui/fields/maxspeed.js +++ b/modules/ui/fields/maxspeed.js @@ -35,12 +35,13 @@ export function uiFieldMaxspeed(field, context) { .merge(wrap); - input = wrap.selectAll('#' + field.domId) + input = wrap.selectAll('input.maxspeed-number') .data([0]); input = input.enter() .append('input') .attr('type', 'text') + .attr('class', 'maxspeed-number') .attr('id', field.domId) .attr('maxlength', context.maxCharsForTagValue() - 4) .call(utilNoAuto)