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

MultiSelect and responsive placeholder value

1 Answer 149 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 12 Jul 2017, 01:03 AM

Hi,

I'm using AngularJS and with the Kendo MultiSelect control.

I am setting the placeholder via the selectOptions like the following

   $scope.selectOptions = {
            placeholder: "Search for workitem by reference or property",
            dataTextField: "title",
            dataValueField: "reference",
            valuePrimitive: true,

However, I would like the placeholder value to be responsive. i.e.

if @media (min-width: 480px) then text is "Search for workitem by reference or property"

if @media (max-width: 480px) then text is "Search for workitem"

What would be the correct way of achieving this?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 13 Jul 2017, 02:12 PM
Hello Chris,

I have provided an answer in your support ticket and I suggest that we continue our communication there in order to prevent thread duplication.

I am also sharing the solution suggestion provided. You can find it on the following Dojo.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 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
Chris
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or