|
@@ -92,6 +92,9 @@ function registerCustomFieldsForEntity(
|
|
|
}
|
|
}
|
|
|
options.length = length;
|
|
options.length = length;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (customField.type === 'float') {
|
|
|
|
|
+ options.scale = 2;
|
|
|
|
|
+ }
|
|
|
if (
|
|
if (
|
|
|
customField.type === 'datetime' &&
|
|
customField.type === 'datetime' &&
|
|
|
options.precision == null &&
|
|
options.precision == null &&
|