diff --git a/src/components/number/editForm/Number.edit.data.js b/src/components/number/editForm/Number.edit.data.js index 1c937e491b..060b8e35ef 100644 --- a/src/components/number/editForm/Number.edit.data.js +++ b/src/components/number/editForm/Number.edit.data.js @@ -8,9 +8,36 @@ export default [ tooltip: 'Separate thousands by local delimiter.' }, { - type: 'number', + type: "textfield", input: true, weight: 80, + key: "thousandsSeparator", + label: "Thousands Separator", + conditional: { + show: true, + conjunction: "all", + conditions: [ + { + component: "delimiter", + operator: "isEqual", + value: true + } + ] + }, + defaultValue: "," + }, + { + type: "textfield", + input: true, + weight: 90, + key: "decimalSymbol", + label: "Decimal Symbol", + defaultValue: "." + }, + { + type: 'number', + input: true, + weight: 100, key: 'decimalLimit', label: 'Decimal Places', tooltip: 'The maximum number of decimal places.' @@ -18,7 +45,7 @@ export default [ { type: 'checkbox', input: true, - weight: 90, + weight: 110, key: 'requireDecimal', label: 'Require Decimal', tooltip: 'Always show decimals, even if trailing zeros.'