6f4d037a8e
In PR #15757, a value is automatically converted into a number when it's possible but the case of numbers like "000123" has been overlooked and their format must be preserved. When a script is doing something like "foo.value + bar.value" and the values are numbers then "foo.value" must return a number but the displayed value must be what the user entered or what a script set, so this patch is just adding a a field _orginalValue in order to track the value has it has defined. Some people are used to use a comma as decimal separator, hence it must be considered when a value is parsed into a number. This patch is fixing a regression introduced by #15757. |
||
---|---|---|
.. | ||
aform.js | ||
app.js | ||
color.js | ||
common.js | ||
console.js | ||
constants.js | ||
doc.js | ||
error.js | ||
event.js | ||
field.js | ||
fullscreen.js | ||
initialization.js | ||
pdf_object.js | ||
print_params.js | ||
proxy.js | ||
thermometer.js | ||
util.js |