How to change placeholder of kendo multiselect widget by css rules?

2 posts, 0 answers
  1. Federico
    Federico avatar
    6 posts
    Member since:
    Jan 2018

    Posted 17 Jan Link to this post

    How to change placeholder of kendo multiselect widget by css rules?

     

    .k-multiselect-wrap > .k-input {
         color: #f02c0c; /* specify the default input color */ content: "HOME";
    }

     

     

    This rule doesn't work. Change the color, but not the content.

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1465 posts

    Posted 19 Jan Link to this post

    Hi Federico,

    The placeholder's text cannot be changed through CSS. If you want to set a new placeholder message you can do so with the widget's API as shown in this dojo. In it the initially set placeholder "Select..." is changed to "New...".

    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top