Custom messages for multiple upload components

3 posts, 1 answers
  1. Matej
    Matej avatar
    71 posts
    Member since:
    Jun 2019

    Posted 04 Feb Link to this post

    Hi,

    I have multiple Upload components on a single page. First is for single file and second is with multiple files upload enabled. I need custom messages for "upload.select". One will be "Select single file" and other "Select multiple files" Is this possible?

  2. Answer
    Silviya
    Admin
    Silviya avatar
    442 posts

    Posted 05 Feb Link to this post

    Hi Matej,

    You can if you define two separate Localization providers and pass different messages for each of them. Check the demo here:

    https://stackblitz.com/edit/react-vxvsk5-6uzhzj?file=app%2Fmain.jsx

    Best Regards,
    Silviya
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

  3. Matej
    Matej avatar
    71 posts
    Member since:
    Jun 2019

    Posted 05 Feb in reply to Silviya Link to this post

    Awesome, thank you.
Back to Top