appsmithorg / appsmithorg/appsmith

[Bug]: Filepicker widget does not validate size when modified

Open
#9,245 15 comments 0 reactions 1 assignee Assigned to @dilippitchika View on GitHub
Bug File Picker Widget Low Production Query Widgets & IDE Pod Regressed Widgets & Accelerators Pod Widgets Product
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Filepicker widget does not validate number of files and file size when it's been updated to a lower value and continues without throwing an error

[![LOOM DEMO](http://cdn.loom.com/sessions/thumbnails/afa99776fb3a44908f4035ce03740e03-00001.gif)](https://www.loom.com/share/afa99776fb3a44908f4035ce03740e03)

### Steps To Reproduce

1. Drag and drop a filepicker widget and upload files and sizes equal to the one mentioned on the property pane
2. Reduce the size and retry file upload with the same files as before
3. Observe that the number of files and size are not validated with new values

### Environment

Production

### Version

Cloud

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.