View is not binded to the model

3 posts, 0 answers
  1. Lawrence
    Lawrence avatar
    7 posts
    Member since:
    Jun 2015

    Posted 06 Jun Link to this post

    It seems that making changes to the selected values from the UI, doesn't update $scope.selectedItems, nor does updating $scope.selectedItems through JavaScript update the View.

     

    01.<select kendo-multi-select
    02.        id="'itemMultiSelect'"
    03.        ng-if="itemDataSource"
    04.        k-data-placeholder="'Select items...'"
    05.        k-ng-model="selectedItems"
    06.        k-data-source="itemsDataSource"
    07.        k-data-text-field="'itemyName'"
    08.        k-data-value-field="'itemId'"
    09.        k-value-primitive=false
    10.        k-auto-close=false
    11.        k-on-select="onSelect(kendoEvent)">
    12.    </select>

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    119 posts
  3. Kendo UI is VS 2017 Ready
  4. Lawrence
    Lawrence avatar
    7 posts
    Member since:
    Jun 2015

    Posted 07 Jun in reply to Alex Hajigeorgieva Link to this post

    There is no edit button to modify my post.
    Alex said:

    Duplicate of:

    http://www.telerik.com/forums/multiselect-view-and-model-not-in-sync

    There is no edit button to modify my post.

Back to Top