mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
ec368ae3fd
commit
3b9065b057
@ -119,6 +119,9 @@
|
|||||||
if (evt.keyCode === 27) {
|
if (evt.keyCode === 27) {
|
||||||
that.element.val("");
|
that.element.val("");
|
||||||
}
|
}
|
||||||
|
if (evt.keyCode === 13) {
|
||||||
|
evt.preventDefault();
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.element.on("keyup",function(evt) {
|
this.element.on("keyup",function(evt) {
|
||||||
that._change($(this).val());
|
that._change($(this).val());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user