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
I am using your React File Manager component and appreciate its versatility. However, I need to hide specific actions such as Download, Upload, Cut, Copy, Rename, and Delete to create a simpler interface focused only on selecting a single .json file.
Expected Behavior
The ability to configure and hide specific actions in the file manager's UI.
For example, a prop or configuration like:
<FileManager hiddenActions={['download', 'upload', 'cut', 'copy', 'rename', 'delete']} />
This should allow developers to show only the actions they need for their use case.
Current Behavior
The file manager displays all actions (Download, Upload, Cut, Copy, Rename, Delete, etc.) regardless of the use case.
Proposed Solution
Add a prop or configuration to specify which actions to hide.
For example:
<FileManager hiddenActions={['upload', 'delete']} />
When an action is hidden, its corresponding button or UI element should not be rendered.
Use Case
This feature is crucial for scenarios where the file manager is used solely for file selection, and other actions are unnecessary or could confuse end-users.
Additional Context
If there is already a way to hide specific actions, kindly provide documentation or an example.
The text was updated successfully, but these errors were encountered:
@khoshbin Thank you for your feedback and for suggesting this feature! The ability to hide specific actions will be included in the next version of the React File Manager. I appreciate your input to help improve the versatility of component!
Description
I am using your React File Manager component and appreciate its versatility. However, I need to hide specific actions such as Download, Upload, Cut, Copy, Rename, and Delete to create a simpler interface focused only on selecting a single .json file.
Expected Behavior
Current Behavior
Proposed Solution
Use Case
This feature is crucial for scenarios where the file manager is used solely for file selection, and other actions are unnecessary or could confuse end-users.
Additional Context
The text was updated successfully, but these errors were encountered: