Open
Description
FR: Dynamic chip props based on FileObject instance.
Describe the problem related to this feature request
I want to validate specific files based on some custom logic. This can be done by either having full control over rendering each uploaded file or passing custom classes or props to the invalid chip (file). I do not want to display an error message upon receiving an invalid file. Instead, I want to it to be added with a red border.
Describe the solution you'd like
This could be delivered by passing a func
that accepts a FileObject
and returns chip props. previewChipProps
can be modified to accept a func
Describe alternatives you've considered
N/A
I would like to start working on this and submit a PR, can we proceed?
Metadata
Metadata
Assignees
Labels
No labels