surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.23k stars 816 forks source link

File Upload in read-only mode - No indication that this form element allows file uploads #8979

Open JaneSjs opened 1 month ago

JaneSjs commented 1 month ago

T20427 - Disabled file picker UI not so userfriendly https://surveyjs.answerdesk.io/internal/ticket/details/T20427


Consider the following JSON:

{
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "boolean",
          "name": "question1"
        },
        {
          "type": "file",
          "name": "question2",
          "enableIf": "{question1} = true"
        }
      ]
    }
  ]
}

Previously, a File Upload appeared in read-only mode as follows: View Demo. image

Current UI: image

Issue: with the current UI, it is unclear that this element actually allows file uploading.