fix(codeTabsComponent): set readonly prop to true for CodeAreaComponent to prevent editing when node template field is dynamic
This commit is contained in:
parent
77d5e839b0
commit
fd25788a9b
1 changed files with 1 additions and 8 deletions
|
|
@ -631,14 +631,7 @@ export default function CodeTabsComponent({
|
||||||
<CodeAreaComponent
|
<CodeAreaComponent
|
||||||
disabled={false}
|
disabled={false}
|
||||||
editNode={true}
|
editNode={true}
|
||||||
readonly={
|
readonly={true}
|
||||||
node.data.node?.flow &&
|
|
||||||
node.data.node.template[
|
|
||||||
templateField
|
|
||||||
].dynamic
|
|
||||||
? true
|
|
||||||
: false
|
|
||||||
}
|
|
||||||
value={
|
value={
|
||||||
!node.data.node.template[
|
!node.data.node.template[
|
||||||
templateField
|
templateField
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue