Components related to variable references should maintain consistent behavior in the event of variable errors or similar issues. #5616

Closed
opened 2026-02-21 18:11:53 -05:00 by yindo · 0 comments
Owner

Originally created by @HiChen404 on GitHub (Sep 14, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When a node connections are incorrect, it should not refer to variables in other nodes or should display an error message, as in (prompt/editor.tsx) within the Anwser node.

However, IF-ELSE node (variable-tag) and other nodes' variable selectors (var-reference-picker) do not provide error prompts, which can be confusing.

Clip_2024-09-14_11-49-35
Clip_2024-09-14_11-50-15
Clip_2024-09-14_11-52-28

Clip_2024-09-14_11-51-44

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @HiChen404 on GitHub (Sep 14, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. When a node connections are incorrect, it should not refer to variables in other nodes or should display an error message, as in (prompt/editor.tsx) within the Anwser node. However, IF-ELSE node (variable-tag) and other nodes' variable selectors (var-reference-picker) do not provide error prompts, which can be confusing. ![Clip_2024-09-14_11-49-35](https://github.com/user-attachments/assets/43d1aa51-159a-46d7-ada1-bbf0aaa43079) ![Clip_2024-09-14_11-50-15](https://github.com/user-attachments/assets/260e4c55-3d9e-49e3-86f6-4a869b678635) ![Clip_2024-09-14_11-52-28](https://github.com/user-attachments/assets/c6e0ebdf-366e-49b4-995e-60e8e7989384) ![Clip_2024-09-14_11-51-44](https://github.com/user-attachments/assets/fc2ac558-1238-467d-86f6-13e36e5f293a) ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:11:53 -05:00
yindo closed this issue 2026-02-21 18:11:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5616