dify/web/app/components/workflow
lyzno1 852d851996
fix(workflow): add empty array validation for required checklist fields in trigger plugin
The checkValid function was not properly validating required checklist fields when they had empty array values. This caused required fields to pass validation even when no options were selected.

Added array length check to the constant type validation to ensure required checklist fields must have at least one selected option.
2025-10-29 12:36:43 +08:00
..
__tests__ refactor(workflow): clean up entry node status and colocate store types 2025-10-24 10:20:38 +08:00
block-selector fix: localize workflow block search filters 2025-10-29 11:55:30 +08:00
constants
datasets-detail-store fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
header feat: support show global vars 2025-10-21 17:59:37 +08:00
help-line
hooks feat(workflow): enhance validation by integrating warning nodes into last run checks. 2025-10-29 01:28:31 +08:00
hooks-store main 2025-10-21 14:42:27 +08:00
nodes fix(workflow): add empty array validation for required checklist fields in trigger plugin 2025-10-29 12:36:43 +08:00
note-node fix(workflow): resolve note node copy/duplicate errors (#27528) 2025-10-28 09:26:12 +08:00
operator feat: enhance block selector and change block components with flow type handling 2025-10-14 16:42:21 +08:00
panel Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
plugin-dependency
run Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
simple-node
store Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
utils Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
variable-inspect feat: add inline code copy styling for variable inspect webhook url 2025-10-29 10:14:50 +08:00
workflow-preview Merge branch 'main' into feat/trigger 2025-10-21 11:09:26 +08:00
block-icon.tsx
candidate-node.tsx fix: immer version and ref in code base (#27130) 2025-10-21 11:38:44 +08:00
constants.ts fix: trigger timestamp show place 2025-10-21 18:21:37 +08:00
context.tsx
custom-connection-line.tsx
custom-edge-linear-gradient-render.tsx
custom-edge.tsx
dsl-export-confirm-modal.tsx
features.tsx
index.tsx feat: Introduce RAG tool recommendations and refactor related components for improved plugin management (#27259) 2025-10-28 10:22:16 +08:00
node-contextmenu.tsx
panel-contextmenu.tsx
selection-contextmenu.tsx fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
shortcuts-name.tsx
style.css
syncing-data-modal.tsx
types.ts Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
update-dsl-modal.tsx
workflow-history-store.tsx