textarea: escape key not restoring previous value
This commit is contained in:
parent
afeb726ddb
commit
f206369ef0
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.25.2
|
||||
|
||||
- bug fixes
|
||||
- textarea: escape key not restoring previous value
|
||||
|
||||
## 1.25.1
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class TextArea extends Widget {
|
|||
else if (e.keyCode === 27) {
|
||||
// esc
|
||||
this.blur(false)
|
||||
this.input.value = this.stringValue
|
||||
this.input.value = this.value
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue