KioskBoard icon indicating copy to clipboard operation
KioskBoard copied to clipboard

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

Open tracemarktech opened this issue 2 years ago • 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!

tracemarktech avatar Jun 09 '22 22:06 tracemarktech

See feature #67

dnapierata avatar Apr 01 '23 21:04 dnapierata