diff --git a/packages/x-flow/src/components/PanelContainer/index.tsx b/packages/x-flow/src/components/PanelContainer/index.tsx index c8c63a816..deb9683dc 100644 --- a/packages/x-flow/src/components/PanelContainer/index.tsx +++ b/packages/x-flow/src/components/PanelContainer/index.tsx @@ -135,7 +135,7 @@ const Panel: FC = (props: IPanelProps) => { /> )} - {isDisabled ? ( + {isDisabled || readOnly ? ( {titleVal} ) : ( = (props: IPanelProps) => { {!hideDesc && (
- {isDisabled ? ( + {isDisabled ? ( description ) : ( = (props: IPanelProps) => { setDescVal(e.target.value); handleNodeValueChange({ desc: e.target.value }); }} - disabled={readOnly} + disabled={readOnly} /> )}