From bee2dc42e66d9272a5903dbf3925d3b6c16c47dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Tue, 16 Mar 2021 14:03:58 +0000 Subject: [PATCH] fix: allow just numbers --- new-lamassu-admin/src/pages/Triggers/helper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/new-lamassu-admin/src/pages/Triggers/helper.js b/new-lamassu-admin/src/pages/Triggers/helper.js index 402e635e..c7b9a565 100644 --- a/new-lamassu-admin/src/pages/Triggers/helper.js +++ b/new-lamassu-admin/src/pages/Triggers/helper.js @@ -449,7 +449,7 @@ const Requirement = () => { {isSuspend && ( { bold className={classnames(inputClasses)} name="threshold.threshold" - component={TextInput} + component={NumberInput} textAlign="right" /> ) : ( @@ -559,7 +559,7 @@ const DisplayThreshold = ({ config, currency, isEdit }) => { bold className={classnames(inputClasses)} name="threshold.thresholdDays" - component={TextInput} + component={NumberInput} textAlign="right" /> ) : (