File Dropper Widget Message Text verification after upload MF issue

We want to display the actual message(reason) to user rather the “rejected by server” after “Verification After Upload (MF)” which as per widget returns only Boolean (true/false). How can we achieve this so we can show actual message text as it is in “Verification Before Upload (MF)”. Also the alert messages are of warning type can we change the type (Style) to Error(Danger)?
1 answers

You Can’t Modify this. it is widget code which handles all error and propagates to UI.

In File Dropper Widget the File Verify Action will not return actually error.

You can file an issue on the GitHub repository regarding this use case.

You can see in below code it is hardcode warning message.