fix(chatModal/index.ts) updated validation condition for required properties of nodes, to allow False values to be accepted
This commit is contained in:
parent
9414ae23df
commit
d02d11213e
1 changed files with 3 additions and 1 deletions
|
|
@ -290,7 +290,9 @@ export default function ChatModal({
|
||||||
errors.concat(
|
errors.concat(
|
||||||
template[t].required &&
|
template[t].required &&
|
||||||
template[t].show &&
|
template[t].show &&
|
||||||
(!template[t].value || template[t].value === "") &&
|
(template[t].value === undefined ||
|
||||||
|
template[t].value === null ||
|
||||||
|
template[t].value === "") &&
|
||||||
!reactFlowInstance
|
!reactFlowInstance
|
||||||
.getEdges()
|
.getEdges()
|
||||||
.some(
|
.some(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue