can't input number > 999 on WNumberEditor

Description

1. open order line
2. input 1234 into "Unit Price"
3. move out to other control
4. this field become empty (but it still keep input value)

reason:
below change from

Environment

None

Activity

Show:
Hiep Lq
November 4, 2017, 4:17 AM

root cause:
format of number don't compatible with format of zk decimal
"The specified value "12,345.00" is not a valid number. The value must match to the following regular expression: ?(\d+|\d+\.\d+|\.\d+)([eE][]?\d)?"

Hiep Lq
November 4, 2017, 4:48 AM

from document here https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number

we can't put separate group into input type number, so can't input 23,234,456.23 (or 23.234.456,23)

so better go back default zk decimal behavior, don't validate input real time of input type number

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

Nicolas Micoud

Components

Fix versions

Affects versions

Priority

Blocker
Configure