diff --git a/frontend/src/components/Inputs/InputAmount.vue b/frontend/src/components/Inputs/InputAmount.vue index 2c4171ca7..50b397d67 100644 --- a/frontend/src/components/Inputs/InputAmount.vue +++ b/frontend/src/components/Inputs/InputAmount.vue @@ -81,6 +81,8 @@ watch( const normalizeAmount = (inputValue) => { amountFocused.value = false - value.value = inputValue.replace(',', '.') + if (typeof inputValue === 'string' && inputValue.length > 1) { + value.value = inputValue.replace(',', '.') + } } diff --git a/frontend/src/components/LinkInformations/RedeemLoggedOut.vue b/frontend/src/components/LinkInformations/RedeemLoggedOut.vue index 9efe95c0b..dbec1fe4b 100644 --- a/frontend/src/components/LinkInformations/RedeemLoggedOut.vue +++ b/frontend/src/components/LinkInformations/RedeemLoggedOut.vue @@ -1,6 +1,6 @@