Prevent default on keypress in textfield-dsl, like plain textfield does
This commit is contained in:
parent
183f104ade
commit
7f785008c8
|
@ -57,7 +57,7 @@ function spawnGui() {
|
|||
}
|
||||
}
|
||||
|
||||
on message globalEvent("#inputRow", "+keypress", $event) {
|
||||
on message globalEvent("#inputRow", "keypress", $event) {
|
||||
var character = String.fromCharCode(event.charCode);
|
||||
if (event.charCode && character) {
|
||||
:: fieldCommand(["insert", character]);
|
||||
|
|
Loading…
Reference in New Issue