jsl-ui 9.20.3 → 9.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/core/culture.js
CHANGED
|
@@ -143,7 +143,7 @@ var culture = (_a = _w._culture) !== null && _a !== void 0 ? _a : {
|
|
|
143
143
|
// 'zh-tw':['.',',','yy/m/d'],
|
|
144
144
|
// 'cs-cz':[',',' ','d.m.yy'],
|
|
145
145
|
// 'da-dk':[',','.','dd-mm-yy'],
|
|
146
|
-
|
|
146
|
+
'de-de': [',', '.', 'dd.mm.yy'],
|
|
147
147
|
// 'el-gr':[',','.','d/m/yy'],
|
|
148
148
|
'en-us': ['.', ',', 'm/d/yy'],
|
|
149
149
|
// 'fi-fi':[',',' ','d.m.yy'],
|
|
@@ -148,6 +148,9 @@ export function NumericEditor(args) {
|
|
|
148
148
|
// }
|
|
149
149
|
this.loadValue = function (item) {
|
|
150
150
|
defaultValue = item[args.column.field];
|
|
151
|
+
if (defaultValue === null) {
|
|
152
|
+
defaultValue = undefined;
|
|
153
|
+
}
|
|
151
154
|
var val_as_str = numeric.format(defaultValue, args.column.format);
|
|
152
155
|
input.value = val_as_str;
|
|
153
156
|
input.select();
|