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

Attachments

1

Activity

Show:

Hiep Lq November 4, 2017 at 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

Hiep Lq November 4, 2017 at 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)?"

Fixed

Details

Assignee

Reporter

Labels

Tested By

Nicolas Micoud

Components

Fix versions

Affects versions

Priority

Created November 4, 2017 at 3:40 AM
Updated January 15, 2018 at 1:21 PM
Resolved November 5, 2017 at 8:47 AM