How to change placeHolder of search textbox in the multiselect?

4 posts, 1 answers
  1. Federico
    Federico avatar
    6 posts
    Member since:
    Nov 2017

    Posted 06 Dec 2017 Link to this post

    How to change placeHolder of search textbox in the multiselect?

     

     

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1846 posts

    Posted 07 Dec 2017 Link to this post

    Hello Federico,

    The MultiSelect's placeholder can be changed with the widget's setOptions API method. See this dojo example, which demonstrates how.

    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.
  3. Federico
    Federico avatar
    6 posts
    Member since:
    Nov 2017

    Posted 11 Dec 2017 Link to this post

    I mean the textarea that allows you to search for an item by name.(attached image)
    The one below the selected elements.

    The input with ' .k-input.k-valid" ' css class. This input show.

    This input is only shown at the multiselect onchange

  4. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    1846 posts

    Posted 13 Dec 2017 Link to this post

    Hello Federico,

    The input's value can be set as demonstrated in this dojo example. In it it is set in the widget's change event handler, but if you don't want to set it constantly and prefer to set it at a specific moment you can do so explicitly:
    var multiselect = $("#multiselect").data("kendoMultiSelect");
    multiselect.input.val("select...");

    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