2.2.0
Chrome Version 64.0.3282.186
2.5.13
https://jsfiddle.net/mmx38qxw/393/
Introduce "2,23" with a comma instead of a dot.
Format the number with decimals correctly either using separator "," or "." for internationalization purposes. Or add a new prop for stablishing the decimal separator character.
The new number is not valid and dissapears if the decimal separator is not ",".
Also see: https://github.com/ElemeFE/element/issues/8515
Need elaboration on behavior:
10,000.30
vs 10.000,30
1,3
where locale says decimal point is .
How to test i18n related stuff in tests? (Also daylight saving time, see date-picker's test)
Thanks for your reply.
I believe those changes will not take too long and will improve que i18n of the component.
@Leopoldthecoder
I'm inclined to adding a prop decimal-separator
which defaults to '.'
. i18n may not be a good place to put such a key, as in most cases the decimal separator is the same among different languages.
That would be awesome.
Any news on this one? I'm looking forward this feature.
There any news on this ? Thanks!
No advances in 5 months? This makes me sad :(
现在的 el-input-number 感觉可有可无,完全没有起到这个组件的作用楼上那个真的可以借鉴下
Any news on this feature, please? Cheers!
wish supporting for displaying custom units after Numbers!
Waiting for this
It can't be this hard to allow comma separated numbers right? It is the common decimal separator in alot of languages.
also waiting for this 😿
Most helpful comment
Waiting for this