From bb1fd9d54b676e191317e685772cf3d4fa458646 Mon Sep 17 00:00:00 2001 From: anjanaw Date: Wed, 7 Feb 2024 21:39:19 +0000 Subject: [PATCH] word lenngth removed --- src/pages/chatbot/DialogQuestionnaires.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/chatbot/DialogQuestionnaires.tsx b/src/pages/chatbot/DialogQuestionnaires.tsx index 5da5393..f71f944 100644 --- a/src/pages/chatbot/DialogQuestionnaires.tsx +++ b/src/pages/chatbot/DialogQuestionnaires.tsx @@ -476,7 +476,7 @@ const DialogQuestionnaires: React.FC = (props) => { onClick={sendAndReceive} disabled={ (text == '' && responseType == ResponseType.NUMBER) || - (words(text) < 100 && responseType == ResponseType.OPEN) || + (words(text) < 1 && responseType == ResponseType.OPEN) || (!check && responseType == ResponseType.CHECK) || (!radio && responseType == ResponseType.RADIO) || (!likert && responseType == ResponseType.LIKERT) ||