From c71bbb438487abfdf44e9e4bb6d35dd160dac5e8 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 20 Aug 2020 08:25:52 -0400 Subject: [PATCH] Update value on change --- CHANGELOG.md | 4 ++++ src/components/input/input.tsx | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddec3f4dd..957e99574 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.0-beta.15 + +- Fixed a bug where the `change` event wasn't updating the value in `sl-input` + ## 2.0.0-beta.14 - Added dark theme diff --git a/src/components/input/input.tsx b/src/components/input/input.tsx index c751336f7..5c77eaba8 100644 --- a/src/components/input/input.tsx +++ b/src/components/input/input.tsx @@ -177,6 +177,7 @@ export class Input { } handleChange() { + this.value = this.input.value; this.slChange.emit(); }