Open vaab opened 2 years ago
Would this be usable ? https://www.npmjs.com/package/vue-currency-input
To add information, it seems that in the Android app, this is perfectly done. It seems android manages the field depending on the type information.
It could be bigger. Should not allow entering alphabetic chars and any other char that digits and "," (we are in france, and "," and not "." is the separator between full number and their decimals.) We could accept using "." and change it on the fly to a "," (not sure it is a good idea though) Do not allow to type more than 2 digits after the ",". Keep the "," in fixed position have the amount right aligned
Please have a look to the paypal one for instance.