diff --git a/src/frontend/src/components/chatComponent/index.tsx b/src/frontend/src/components/chatComponent/index.tsx index 0d598b300..11516f004 100644 --- a/src/frontend/src/components/chatComponent/index.tsx +++ b/src/frontend/src/components/chatComponent/index.tsx @@ -92,7 +92,7 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) { return Object.keys(template).reduce( (errors: Array, t) => errors.concat( - template[t].required && + (template[t].required && template[t].show) && (!template[t].value || template[t].value === "") && !reactFlowInstance .getEdges()