Fix issue with maxspeed field updating

This commit is contained in:
Quincy Morgan
2020-05-21 10:52:32 -04:00
parent 35eaf7045c
commit 1c1f40cf80

View File

@@ -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)