diff --git a/src/js/form-builder.js b/src/js/form-builder.js index b44a5c0b1..663820790 100644 --- a/src/js/form-builder.js +++ b/src/js/form-builder.js @@ -1824,7 +1824,7 @@ function FormBuilder(opts, element, $) { } }) - $stage.on('blur', 'input.fld-maxlength', e => { + $stage.on('blur', 'input.fld-maxlength, input.fld-rows', e => { e.target.value = forceNumber(e.target.value) }) diff --git a/src/sass/_stage.scss b/src/sass/_stage.scss index abe31b2c1..382560f3d 100644 --- a/src/sass/_stage.scss +++ b/src/sass/_stage.scss @@ -656,7 +656,7 @@ border: 1px solid $error; } - &.fld-maxlength { + &.fld-maxlength, &.fld-rows { width: 75px; }