Repository navigation
Releases: miyasuta/ui5-upload-controls
Releases · miyasuta/ui5-upload-controls
Release list
v2.1.0
What's New
File Type Filtering (#1)
Both SingleFileUpload and MultiFileUpload now support restricting accepted file types via two new properties:
| Property | Type | Description |
|---|---|---|
mediaTypes |
string |
Comma-separated MIME types allowed (e.g. "application/pdf,image/jpeg") |
fileTypes |
string |
Comma-separated file extensions allowed (e.g. "pdf,jpg,png") |
When a disallowed file is selected, an error dialog is shown and the file is not uploaded.
Configurable Columns in MultiFileUpload (#2)
MultiFileUpload now supports a displayProperties property to control which columns appear in the file list table:
| Property | Type | Default | Description |
|---|---|---|---|
displayProperties |
string[] |
["filename", "createdAt", "createdBy"] |
Ordered list of attachment property names to display as columns |
The File Name column (always first) and Delete button column (always last) are fixed; displayProperties controls the columns in between. Column header labels are derived from OData metadata automatically.
Full Changelog: v2.0.2...v2.1.0
v2.0.2
v2.0.0
v1.0.5
v1.0.3
v1.0.2
Full Changelog: https://github.com/miyasuta/ui5-upload-controls/commits/v1.0.2