From 20a42925ad8a03196c980484922b266c6f371cd8 Mon Sep 17 00:00:00 2001 From: ingalls Date: Fri, 24 Nov 2023 14:27:15 -0700 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 4 ++++ components/input/Range.vue | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f24f3a..bc5c2cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ ## Version History +### v3.19.0 + +- :bug: `Range` Fix initial state + ### v3.18.0 - :rocket: `Dropdown` Take 100% of width of parent diff --git a/components/input/Range.vue b/components/input/Range.vue index 94bda90..6b324f4 100644 --- a/components/input/Range.vue +++ b/components/input/Range.vue @@ -46,13 +46,13 @@ export default { data: function() { return { help: false, - current: '' + current: this.modelValue } }, watch: { current: function() { if (this.current === this.modelValue) return; - this.$emit('update:modelValue', this.current); + this.$emit('update:modelValue', Number(this.current)); } }, components: {