From 6208d5f7e1ba4b47deaa94e97085ba3c557f0464 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Thu, 7 Mar 2019 20:52:40 -0500 Subject: [PATCH] Fixed getInput output when inputName is passed --- 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 c2a14791..850947c6 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -319,7 +319,7 @@ class SimpleKeyboard { */ if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); - return this.input[this.options.inputName]; + return this.input[inputName]; } /**