shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
285 stars 45 forks source link

When the file component is dragged and dropped onto the form, it defaults to readMode in the deisgner view #1413

Open hlayisanimazuze opened 2 weeks ago

hlayisanimazuze commented 2 weeks ago

When you drag and drop the file component, it defaults to readMode. It only shows press to upload when you are on preview/render mode

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=74b4babc-1990-4cf2-8324-af6c1a613d7e'
  2. Check the file component and compare the behaviour with the file list
  3. Actual Results: The file component does not show 'press to upload', however the file list does
  4. Click on preview
  5. Actual Results: The press to upload only shows when you are in render mode

Expected behavior From the designer, the 'press to upload' should show

image