PennController for IBEX › Forums › Support › Disabling a key in TextInput element › Reply To: Disabling a key in TextInput element
March 2, 2022 at 12:00 pm
#7815
Jeremy
Keymaster
Hi Marisol,
You name the TextInput element in your project "PA"
, so you need to replace "textarea.PennController-myInput"
with "textarea.PennController-PA"
. Also, your code is currently not using call
on the Function element, so its content won’t be executed: you need to add back .call()
for it to work. Then any keypress on S
will fail to add that character in the input box
Jeremy