update node verification bug for boolean field
This commit is contained in:
parent
a78a71c997
commit
38aa051bf9
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) {
|
||||||
(errors: Array<string>, t) =>
|
(errors: Array<string>, t) =>
|
||||||
errors.concat(
|
errors.concat(
|
||||||
(template[t].required && template[t].show) &&
|
(template[t].required && template[t].show) &&
|
||||||
(!template[t].value || template[t].value === "") &&
|
(template[t].value===undefined || template[t].value === "") &&
|
||||||
!reactFlowInstance
|
!reactFlowInstance
|
||||||
.getEdges()
|
.getEdges()
|
||||||
.some(
|
.some(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue