This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
'amount' field doesn't support comma's when buying via moonpay #2400
Labels
C - Mobile
L - Assigned
Lifecycle - Somebody is working on this
L - WIP
Lifecycle - Work in Progress
T - Bug
Type - Bug: Something isn't working
Bug description
The IOS app I use displays a comma in the on-screen keyboard when entering the amount of IOTA you want to order via Moonpay. In my region it is common to use a comma as decimal separator (netherlands). The mask in the amount field can't cope with this input, since it gives NaN for several fields that use this number as input. See screenshot.
Bug description
A general description of the bug.
Environment Specs
Apple Iphone 8
OS version 13.2
Trinity version: 1.2.0 (95)
Steps To Reproduce
This opens up the screen where you can input the amount of currency you would like to purchase. My keyboard shows a comma (see screenshot). When entering a normal number, the values are updated in realtime. When entering the comma, the fields go to NaN and $0
Expected behaviour
The software should be capable of processing the given value with the buttons that are supplied on the on-screen keyboard.
Actual behaviour
NaN shows when a comma is entered
Errors
Screenshot provided
The text was updated successfully, but these errors were encountered: