You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal: Add filterFiles property to mgt-file-list so custom filter function could be provided by consumer
Description
As a consumer of this component i should be able to decide if specific document should be shown or not (currently only file extensions are supported). Using a filter function could solve most scenarios.
Rationale
Use case: include all extensions except ".json". Not possible with current component.
Use case: exclude specific folder or file by name pattern.
Use case: exclude by other DriveItem properties (filesize) or combination of properties (ex.: .back files if size is > 1gb)
Proposal: Add filterFiles property to mgt-file-list so custom filter function could be provided by consumer
Description
As a consumer of this component i should be able to decide if specific document should be shown or not (currently only file extensions are supported). Using a filter function could solve most scenarios.
Rationale
mgt-file-listshould support both filtering by file extensions but also return folders #1749Preferred Solution
Implement filterFiles property following the filterTasks implementation from to-do component.
Additional Context
Probably I will try to implement it myself any time soon.