JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions File upload component, pass specific validation error


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #102427


    Currently we can receive from backend to frontend file upload component only  error event(uploadError) without specific reason.

    On the backend side We can exactly validate uploaded file for a lots of different issues

    subsequently send to frontend via API 400 Bad Request with specific reason(parameter).

    Frontend file upload component can handle Bad request as event(uploadError)  but without parameter of specific reason.

    Can We obtain specific file upload validation errors?


    Hi Lukac,

    The fileUpload has a responseHandler callback function, which can be defined for validation purposes. In this help tutorial is shown how to set it up. Web Components Fileupload – Getting Started | Fileupload Component |


    Best regards,
    Peter Stoev

    Smart UI Team

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.