#3041 closed defect (worksforme)
NumberTextbox does not know how to handle decimals
Reported by: | joose | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Internationalization | Version: | 0.9 |
Keywords: | Cc: | Douglas Hays | |
Blocked By: | Blocking: |
Description (last modified by )
NumberTextbox? does not know how to handle decimals, atleast when decimal separator is something else than "." like ",".
I modified test_validate.html so that constraints={min:0,max:120}
error message I get with say: 50,12 is "This value is out of range". And it seems that 10,1 == ok because widget thinks it's value is 101. but 10,10 is out of range, because widget thinks it's 1010.
Change History (2)
comment:1 Changed 14 years ago by
Cc: | Douglas Hays added |
---|---|
Description: | modified (diff) |
Resolution: | → worksforme |
Status: | new → closed |
Version: | 0.4.2 → 0.9 |
Note: See
TracTickets for help on using
tickets.
Ok, took me a while to figure this one out. It's because there was a setting of digit="true" which strips out anything which isn't a 0-9, including thousands and decimal separators. I'm not sure I like the feature.