furcan/KioskBoard

[FEAT] - How to access to a value over a input element when using the numeric keypad?

tracemarktech opened this issue · 1 comments

Hello,

I have a input field linked with a KioskBoard instance. For instance, I am using a numeric keyboard with allowRealKeyboard = false set as a parameter for KioskBoard.init method. Consider the following nesting elements which I am using:

<h2 class="yields"> Meta: <input class="js-virtual-keyboard" data-kioskboard-type="numpad" data-kioskboard-placement="bottom" type="number" bind:value= {someVariableInScript}> </h2>

As you can see, I made sure to put the bind:value attribute to the input element. However, when I use the virtual keypad and set any value, the variable does not pick up the value entered from the keypad, as if the input field never updates.

Is there any way in which I can access to a keyboard value (associated with its input element) when modify through its keypads (just clicking over them)? Thanks in advance!

See feature #67