mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 09:45:37 +08:00
Update Utilities.js
This commit is contained in:
parent
6cf99720c4
commit
d1cdbd2d11
@ -304,7 +304,7 @@ class Utilities {
|
|||||||
let options = this.getOptions();
|
let options = this.getOptions();
|
||||||
let maxLength = options.maxLength;
|
let maxLength = options.maxLength;
|
||||||
let currentInput = inputObj[options.inputName];
|
let currentInput = inputObj[options.inputName];
|
||||||
let condition = currentInput.length >= maxLength;
|
let condition = updatedInput.length - 1 >= maxLength;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user