iSoron / uhabits

Loop Habit Tracker, a mobile app for creating and maintaining long-term positive habits
GNU General Public License v3.0
7.95k stars 939 forks source link

decimal separator «,» not usable after edit #1781

Closed erik55 closed 1 year ago

erik55 commented 1 year ago

Pre-submission checklist

Description

When I enter a numerical value that has decimals, I try to do this with a comma (e.g. 4,5) as this is how it works here. But: Not possible, comma can’t be entered in the text field. So I try it with a dot (e.g. 4.5). This works, great. It however shown with a comma! Which is great, better than nothing. BUT: When I want to edit/change/correct this value, I tap on it. Now the value is shown with comma (e.g. 4,5). If I only want to change the decimal place (e.g. to the value 4,6), I can do that. If I hit the save button, it is NOT saved, shows the old value again (e.g. 4,5).

Steps to reproduce

  1. Enter a decimal value in a task (for example how many minutes have you spent doing something today): It has to be with a dot, as a comma can not be entered.
  2. Save it, works. But it is shown with a comma now (which is correct for my region).
  3. Tap on it, to edit it.
  4. Change any number.
  5. Save it. It does NOT work. The old value is shown as the saved value.

System information

Proposal for solution

tilgwullfi commented 1 year ago

having the same issue

iSoron commented 1 year ago

Duplicate of #1719. Fixed in Loop 2.1.3.