add default value for selected variable in the input field #7834

Closed
opened 2026-02-21 18:22:36 -05:00 by yindo · 1 comment
Owner

Originally created by @TrieuLe0801 on GitHub (Jan 22, 2025).

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.

Image
I set a selected variable with the boolean type (True/False), but the variable cannot set the default value, so it only gives an empty or null value. I hope the select-type variable can be set as a default value for the new version.

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 @TrieuLe0801 on GitHub (Jan 22, 2025). ### 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. ![Image](https://github.com/user-attachments/assets/5ddaa142-6983-4f2e-a7c0-f2929b822095) I set a selected variable with the boolean type (True/False), but the variable cannot set the default value, so it only gives an empty or null value. I hope the select-type variable can be set as a default value for the new version. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:22:36 -05:00
yindo closed this issue 2026-02-21 18:22:36 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 22, 2025):

Hi, @TrieuLe0801. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Feature request to set a default value for boolean type variables in input fields.
  • Current implementation results in empty or null values.
  • No further comments or activity since the initial request.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting on the issue.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Feb 22, 2025): Hi, @TrieuLe0801. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Feature request to set a default value for boolean type variables in input fields. - Current implementation results in empty or null values. - No further comments or activity since the initial request. **Next Steps:** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting on the issue. - If there is no further activity, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7834