Browse Source
When a model schema loads, enum dropdowns showed "Default" but never wrote the actual default value into node.data.parameters. This caused the Kie API to receive missing parameter values, resulting in errors like "mode is not within the range of allowed options." Now a useEffect watches for schema changes and writes any schema-defined defaults into parameters when the corresponding key is undefined. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>handoff-20260429-1057
1 changed files with 16 additions and 0 deletions
Loading…
Reference in new issue