I'm using a decimal format with space as grouping char and comma as decimal char. But, a value such as 123,32 is determined to be invalid. The validator uses a good regex, but the value it validates is not the input string though. When using the setValue() method, the value is set to String noExponent = BigDecimal.valueOf(newValue.doubleValue()).toPlainString(); instead of using the format info in NumberField.
Since the default validator in many cases get a erroneous result, I think it should be disabled by default.
I'm using a decimal format with space as grouping char and comma as decimal char. But, a value such as
123,32is determined to be invalid. The validator uses a good regex, but the value it validates is not the input string though. When using thesetValue()method, the value is set toString noExponent = BigDecimal.valueOf(newValue.doubleValue()).toPlainString();instead of using the format info in NumberField.Since the default validator in many cases get a erroneous result, I think it should be disabled by default.