From d7eb57670931fa3f3d923b7b8f48a8b58190ed1e Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 13 Apr 2023 18:34:32 +0300 Subject: [PATCH] add tbxBonusCoefficient props --- apps/web/Components/Calculation/config/elements-props.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/web/Components/Calculation/config/elements-props.tsx b/apps/web/Components/Calculation/config/elements-props.tsx index 10ac955..1e4375c 100644 --- a/apps/web/Components/Calculation/config/elements-props.tsx +++ b/apps/web/Components/Calculation/config/elements-props.tsx @@ -451,6 +451,13 @@ const props: Partial = { showSearch: true, optionFilterProp: 'label', }, + tbxBonusCoefficient: { + min: 0, + max: 10, + step: 0.1, + precision: 4, + formatter: createFormatter({ minimumFractionDigits: 4, maximumFractionDigits: 4 }), + }, }; export default props;