From 09e324f8e124803d4e11314a5b68593a6f90ddae Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 3 Jun 2021 15:30:31 +0300 Subject: [PATCH] add formatter to fields --- .../Containers/Calculation/lib/elements/elementsProps.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/Containers/Calculation/lib/elements/elementsProps.ts b/src/client/Containers/Calculation/lib/elements/elementsProps.ts index 86fb4ec..e9afc6b 100644 --- a/src/client/Containers/Calculation/lib/elements/elementsProps.ts +++ b/src/client/Containers/Calculation/lib/elements/elementsProps.ts @@ -336,6 +336,8 @@ const elementsProps: TElements = { min: '0.0000', max: '500.0000', step: '0.0001', + precision: 6, + formatter: formatNumber, }, linkDownloadKp: { type: 'primary', @@ -361,6 +363,7 @@ const elementsProps: TElements = { min: 0, step: 1000, precision: 2, + formatter: formatNumber, }, componentElt: { title: 'Расчет страховки в ЭЛТ',