Hi,
I have a text entry control to enter numeric values. Below is the code snippet I use.
CODEBOX
this.controls.phoneEntry = new KONtx.control.TextEntryButton({
label: 'Enter the 10-Digit Phone Number: ',
styles: $hsnWidget.styles['sidebar_phone_entry'],
keyboard: {
layout: 'pinentry',
controlSize: 'standard',
maxLength: 10,
},
events: {
onSubmit: function(event) {
phoneNumber = event.payload.value;
}
}
}).appendTo(this);
It works pretty fine as it shows up a virtual numeric keypad. But, when I try to use the remote's number keys instead of the on-screen virtual keypad, I get the TV channel being changed. Is it possible to restrict/block channel change and use remote number keys instead of on-screen virtual keyboard to enter numbers in textentry control?
Any ideas/suggestions would be highly appreciated.
Thanks,
Param