This is a migrated thread and some comments may be shown as answers.

How to change placeHolder of search textbox in the multiselect?

3 Answers 903 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Federico
Top achievements
Rank 1
Federico asked on 06 Dec 2017, 02:59 PM

How to change placeHolder of search textbox in the multiselect?

 

 

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 07 Dec 2017, 06:31 AM
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.
0
Federico
Top achievements
Rank 1
answered on 11 Dec 2017, 01:53 PM

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

0
Accepted
Ivan Danchev
Telerik team
answered on 13 Dec 2017, 11:54 AM
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.
Tags
MultiSelect
Asked by
Federico
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Federico
Top achievements
Rank 1
Share this question
or