diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js index db29bb71..23615a4e 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -294,7 +294,7 @@ class SimpleKeyboard { */ clearInput(inputName){ inputName = inputName || this.options.inputName; - this.input[this.options.inputName] = ''; + this.input[inputName] = ''; /** * Enforce syncInstanceInputs, if set