Lokavaluto / monujo

GNU Affero General Public License v3.0
3 stars 4 forks source link

The input field for entering amount is far from perfect #253

Open vaab opened 2 years ago

vaab commented 2 years ago

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.

vaab commented 2 years ago

Would this be usable ? https://www.npmjs.com/package/vue-currency-input

vaab commented 2 years ago

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.