Getting "values is not defined" error when selecting item

2 posts, 0 answers
  1. Arina
    Arina avatar
    2 posts
    Member since:
    Mar 2020

    Posted 23 Apr 2020 Link to this post

    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");

  2. Martin
    Admin
    Martin avatar
    299 posts

    Posted 27 Apr 2020 Link to this post

    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.
Back to Top