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
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?
The text was updated successfully, but these errors were encountered:
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 aFileObject
and returns chip props.previewChipProps
can be modified to accept afunc
Describe alternatives you've considered
N/A
I would like to start working on this and submit a PR, can we proceed?
The text was updated successfully, but these errors were encountered: