Update Utilities.js

This commit is contained in:
Francisco Hodge 2019-10-29 10:58:24 -04:00 committed by GitHub
parent 6cf99720c4
commit d1cdbd2d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,7 +304,7 @@ class Utilities {
let options = this.getOptions();
let maxLength = options.maxLength;
let currentInput = inputObj[options.inputName];
let condition = currentInput.length >= maxLength;
let condition = updatedInput.length - 1 >= maxLength;
if (
/**