## Description > fix filepicker widgets selects multiple files and then removes one of them, causing the final content of all file.data to be abnormal > > #### PR fixes following issue(s) Fixes # (issue number) > [31411](https://github.com/appsmithorg/appsmith/issues/31411) #### Type of change - Bug fix > ## Testing > #### How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. - Cypress > > #### Test Plan > Add Testsmith test cases links that relate to this PR > > #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - My code follows the style guidelines of this project - I have performed a self-review of my own code - I have commented my code, particularly in hard-to-understand areas - My changes generate no new warnings - New and existing unit tests pass locally with my changes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced the File Picker widget to support more interactive functionalities like setting maximum file limits and custom data formats. - **Tests** - Added tests for new functionalities in the File Picker widget, including file uploading, setting restrictions, and file removal verification. - **Bug Fixes** - Fixed an issue with file data retrieval in the File Picker widget to ensure accurate data is presented after files are removed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: linzihong <linzihong@corp.netease.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| locators | ||
| manual_TestSuite | ||
| patches | ||
| plugins | ||
| scripts | ||
| snapshots | ||
| support | ||
| .eslintrc.json | ||
| apply-patches.js | ||
| index.ts | ||
| init-mssql-dump-for-test.sql | ||
| init-mysql-dump-for-test.sql | ||
| init-pg-dump-for-test.sql | ||
| limited-tests.txt | ||
| setup-test-ci.sh | ||
| setup-test.sh | ||
| tags.js | ||
| test.sh | ||
| tsconfig.json | ||
| xataadd.sh | ||
| xatadel.sh | ||