From b94e0fa0529b25a6d7e98d1b013bad5ac0fc4fde Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Tue, 12 Mar 2024 16:50:50 +0530 Subject: [PATCH] refactor: change order of minimum & maximum input in checkbox setting --- .../components/pdf/DropdownWidgetOption.js | 61 ++++--- .../src/components/pdf/Placeholder.js | 165 +++++++++++------- .../src/components/pdf/PlaceholderType.js | 14 +- 3 files changed, 141 insertions(+), 99 deletions(-) diff --git a/apps/OpenSign/src/components/pdf/DropdownWidgetOption.js b/apps/OpenSign/src/components/pdf/DropdownWidgetOption.js index 19d616dc9..1d8a075cf 100644 --- a/apps/OpenSign/src/components/pdf/DropdownWidgetOption.js +++ b/apps/OpenSign/src/components/pdf/DropdownWidgetOption.js @@ -178,36 +178,6 @@ function DropdownWidgetOption(props) { className="drodown-input" /> - {props.type === "checkbox" && !props.isSignYourself && ( - <> - - { - const count = handleSetMinMax(e); - setMinCount(count); - }} - className="drodown-input" - /> - - { - const count = handleSetMinMax(e); - setMaxCount(count); - }} - className="drodown-input" - /> - - )}