From 366f4cd98e5e4bc191925d6c80457d925449d2da Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 19 Nov 2018 09:25:27 -0500 Subject: [PATCH] Fix clearInput issue --- src/lib/components/Keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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