* High impact issue*
Please open showcase item with dutch locale: http://www.smartclient.com/?locale=nl#formFormulaFields
Paste the following code in formulaFields.js:
Howto reproduce
Enter value: 55,89 (comma) and press Tab. You will see the value change to 55.89 (point), now enter the field again and remove focus, it will show 5589, a really unexpected conversion of the original entered value.
As a workaround I switched decimalSymbol and groupingSymbol to get a consistent experience;
Please open showcase item with dutch locale: http://www.smartclient.com/?locale=nl#formFormulaFields
Paste the following code in formulaFields.js:
Code:
isc.DynamicForm.create({ ID:"order", width:500, fields: [ { name:"price", title:"Price", type:"float"}, { type:"submit", title:"Submit Order" } ] });
Enter value: 55,89 (comma) and press Tab. You will see the value change to 55.89 (point), now enter the field again and remove focus, it will show 5589, a really unexpected conversion of the original entered value.
As a workaround I switched decimalSymbol and groupingSymbol to get a consistent experience;
Code:
isc.NumberUtil.addClassProperties({ decimalSymbol:".", groupingSymbol:"," })
Comment