diff --git a/admin/src/components/EditCreationFormular.vue b/admin/src/components/EditCreationFormular.vue index 0c5bb5a6a..0e887ad3d 100644 --- a/admin/src/components/EditCreationFormular.vue +++ b/admin/src/components/EditCreationFormular.vue @@ -103,7 +103,7 @@ export default { data() { return { text: !this.creationUserData.memo ? '' : this.creationUserData.memo, - value: !this.creationUserData.amount ? 0 : this.creationUserData.amount, + value: !this.creationUserData.amount ? 0 : Number(this.creationUserData.amount), rangeMin: 0, rangeMax: 1000, selected: '', @@ -155,7 +155,7 @@ export default { const month = this.$d(new Date(this.creationUserData.date), 'month') const index = this.radioOptions.findIndex((obj) => obj.item.short === month) this.selected = this.radioOptions[index].item - this.rangeMax = this.creation[index] + this.creationUserData.amount + this.rangeMax = Number(this.creation[index]) + Number(this.creationUserData.amount) } }, }