Boolean input does not work in Workflow #18797

Closed
opened 2026-02-21 19:52:02 -05:00 by yindo · 0 comments
Owner

Originally created by @DavideDelbianco on GitHub (Oct 4, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.1

Cloud or Self Hosted

Self Hosted (Docker), Cloud

Steps to reproduce

Create a workflow
add a boolean input
publish the app

Image

✔️ Expected Behavior

boolean input should show the checkbox and in any case be treated as false, when value is missing
it should also allow configuration of default value like any other input

Actual Behavior

boolean is rendered as a label and considered null, checkbox is missing
works fine in Chatflow

Image Image
Originally created by @DavideDelbianco on GitHub (Oct 4, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.1 ### Cloud or Self Hosted Self Hosted (Docker), Cloud ### Steps to reproduce Create a workflow add a boolean input publish the app <img width="678" height="619" alt="Image" src="https://github.com/user-attachments/assets/8434b898-3609-497f-a707-aded893bf820" /> ### ✔️ Expected Behavior boolean input should show the checkbox and in any case be treated as false, when value is missing it should also allow configuration of default value like any other input ### ❌ Actual Behavior boolean is rendered as a label and considered null, checkbox is missing works fine in Chatflow <img width="1272" height="390" alt="Image" src="https://github.com/user-attachments/assets/61c79b7f-e4c4-4d55-8040-6f7d1b386840" /> <img width="1260" height="537" alt="Image" src="https://github.com/user-attachments/assets/ecc8945e-f6d2-4963-aa15-5d2e8b66ea9d" />
yindo added the 🐞 bug label 2026-02-21 19:52:02 -05:00
yindo closed this issue 2026-02-21 19:52:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18797