textarea: escape key not restoring previous value

This commit is contained in:
jean-emmanuel 2023-07-03 12:29:28 +02:00
parent afeb726ddb
commit f206369ef0
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 1.25.2
- bug fixes
- textarea: escape key not restoring previous value
## 1.25.1
- bug fixes

View file

@ -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
}
})