dify/web/app/components
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
..
app Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
app-sidebar refactor(trigger): refactor app mode type to enum 2025-10-21 16:50:18 +08:00
apps refactor(trigger): refactor app mode type to enum 2025-10-21 16:50:18 +08:00
base feat(trigger): dynamic options opt 2025-10-28 16:20:01 +08:00
billing refactor: update installed app component to handle missing params and improve type safety (#27331) 2025-10-27 14:38:58 +08:00
custom [Chore/Refactor] Implement lazy initialization for useState calls to prevent re-computation (#26252) 2025-09-29 20:35:55 +09:00
datasets refactor: update installed app component to handle missing params and improve type safety (#27331) 2025-10-27 14:38:58 +08:00
develop refactor(trigger): refactor app mode type to enum 2025-10-21 16:50:18 +08:00
explore refactor(trigger): refactor app mode type to enum 2025-10-21 16:50:18 +08:00
goto-anything feat: support show global vars 2025-10-21 17:59:37 +08:00
header Merge branch 'main' into feat/trigger 2025-10-28 17:11:15 +08:00
plugins feat(trigger): request condition param 2025-10-28 22:35:03 +08:00
rag-pipeline fix: serialize workflow draft sync operations (#27487) 2025-10-27 13:29:40 +08:00
share fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
signin [Chore/Refactor] Implement lazy initialization for useState calls to prevent re-computation (#26252) 2025-09-29 20:35:55 +09:00
tools Merge branch 'main' into feat/trigger 2025-10-29 00:08:50 +08:00
workflow fix(workflow): add empty array validation for required checklist fields in trigger plugin 2025-10-29 12:36:43 +08:00
workflow-app fix(workflow): add support for schedule triggers in workflow run hook 2025-10-27 20:52:44 +08:00
browser-initializer.tsx Perf: remove user profile loading (#22710) 2025-07-21 16:35:52 +08:00
i18n-server.tsx fix: Refactor i18n config and fix plugin search box styling issue (#22945) 2025-07-25 15:01:28 +08:00
i18n.tsx fix: Refactor i18n config and fix plugin search box styling issue (#22945) 2025-07-25 15:01:28 +08:00
sentry-initializer.tsx Perf: remove user profile loading (#22710) 2025-07-21 16:35:52 +08:00
swr-initializer.tsx rm useless router.replace (#27386) 2025-10-26 19:26:46 +08:00
with-i18n.tsx