dify/web/app/components/workflow/nodes/trigger-plugin
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
..
components/trigger-form feat(workflow): add disableVariableInsertion prop to form input and trigger components 2025-10-15 18:20:13 +08:00
hooks feat/trigger plugin apikey (#25388) 2025-09-09 15:01:06 +08:00
utils feat: implement trigger plugin authentication UI (#25310) 2025-09-07 21:53:22 +08:00
default.ts fix(workflow): add empty array validation for required checklist fields in trigger plugin 2025-10-29 12:36:43 +08:00
node.tsx fix(trigger): invalid subscription 2025-10-27 21:27:08 +08:00
panel.tsx fix(trigger): invalid subscription 2025-10-27 21:27:08 +08:00
types.ts refactor(trigger): rename trigger references to event for consistency 2025-10-09 03:12:35 +08:00
use-check-params.ts feat(workflow): enhance validation by integrating warning nodes into last run checks. 2025-10-29 01:28:31 +08:00
use-config.ts fix(trigger): invalid subscription 2025-10-27 21:27:08 +08:00