[Enhancement/Refactor] Merge file input options #15422

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

Originally created by @DavideDelbianco on GitHub (Jul 16, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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.
  • 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.

With the upcoming arrival of boolean inputs and json inputs, i would suggest to reduce the amount of "buttons" in the input type grid.

The only difference between a single file and a file list is the presence of the slider to choose how many files.

Image

any "single file" input could be converted to a file list with a length of 1 and the backend could transform "old" single file inputs into arrays of 1 element.

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 @DavideDelbianco on GitHub (Jul 16, 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] 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] 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. With the upcoming arrival of boolean inputs and json inputs, i would suggest to reduce the amount of "buttons" in the input type grid. The only difference between a single file and a file list is the presence of the slider to choose how many files. <img width="475" height="241" alt="Image" src="https://github.com/user-attachments/assets/b5e08c82-48d4-4d4a-bbe1-d36a8ea5ffd0" /> any "single file" input could be converted to a file list with a length of 1 and the backend could transform "old" single file inputs into arrays of 1 element. ### 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 19:21:40 -05:00
yindo closed this issue 2026-02-21 19:21:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15422