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

Getting "values is not defined" error when selecting item

1 Answer 302 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Arina
Top achievements
Rank 1
Arina asked on 23 Apr 2020, 02:32 PM

Hello
I have trouble with multiselect. When I select item I get error "values is not defined" in console and selected item doesn't show in input. But in list it looks like selected. Can anybody help me with this, please?

<select id="members" multiple="multiple"></select>

$( "#members" ).kendoMultiSelect({
      dataSource: {
        data: [
          { value: 1, text: "Demo 1" },
          { value: 2, text: "Demo 2" },
          { value: 3, text: "Demo 3" },
          { value: 4, text: "Demo 4" }
        ]
      },
      dataTextField: "text",
      dataValueField: "value"
    }).data("kendoMultiSelect");

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 27 Apr 2020, 07:02 AM

Hello Arina,

Thank you for sharing the code snippet and the screenshots.

Unfortunately they were insufficient for me to observe the error you are receiving. Could you please modify this Dojo example to reproduce the issue? I will then test it and see what is causing the problem.

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MultiSelect
Asked by
Arina
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or