You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to find a similar issue and didn't find it.
I searched the documentation, with the integrated search.
I already read the docs and didn't find an answer.
I can replicate the issue inside the Demo install.
Homebox Version
0.15.2
What is the issue you are experiencing?
When entering purchase price with comma (e.g. 19,99), the value is ignored after saving (price is 0). Would be great to accept / handle such values (have a setting for it if necessary), as this is a wide-spread standard for decimal separator in European countries.
How can the maintainer reproduce the issue?
create a new item
enter e.g. 19,99 as purchase price
save
Deployment
Docker (Linux)
OS Architechture
ARM64
Deployment Details
No response
The text was updated successfully, but these errors were encountered:
This is a limitation of the float field type and the number input on the browser.
Attempting to accommodate this would be an interestingly difficult task given that some countries use commas for thousand place separators, and other use it for the change. While other countries have the inverse.
Right now, as far as I can tell and while I was trying to sort other things, there is no good way to handle this, and make sure that it properly gets converted to a float (which mandates the 1245.12 format)
I should note however, that I think your browser cache may not be cleared, as the input field should not be accepting commas at all as of 0.15.2 (validated on demo), and if you did save it without noticing the comma wasn't accepted it should still save, although as 1999 instead of 19.99
Please see #204 for some info on the comma thing previously brought up.
Right now, as far as I can tell and while I was trying to sort other things, there is no good way to handle this, and make sure that it properly gets converted to a float (which mandates the 1245.12 format)
Couldn't we have a setting in user's profile, and then apply some parsing on the field value according to that setting?
I should note however, that I think your browser cache may not be cleared, as the input field should not be accepting commas at all as of 0.15.2 (validated on demo), and if you did save it without noticing the comma wasn't accepted it should still save, although as 1999 instead of 19.99
Just tested again (purchase price 19,99) in a private window on Firefox at https://demo.homebox.software/ - I still get no feedback from the field about any error, and the price is 0 after saving...
Please see #204 for some info on the comma thing previously brought up.
Sorry, didn't find this one (probably searched only open issues...). The issue is slightly different though...
First Check
Homebox Version
0.15.2
What is the issue you are experiencing?
When entering purchase price with comma (e.g.
19,99
), the value is ignored after saving (price is0
). Would be great to accept / handle such values (have a setting for it if necessary), as this is a wide-spread standard for decimal separator in European countries.How can the maintainer reproduce the issue?
19,99
as purchase priceDeployment
Docker (Linux)
OS Architechture
ARM64
Deployment Details
No response
The text was updated successfully, but these errors were encountered: