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

View is not binded to the model

2 Answers 25 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Lawrence
Top achievements
Rank 1
Lawrence asked on 06 Jun 2016, 05:43 PM

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 Answers, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 07 Jun 2016, 04:16 PM
0
Lawrence
Top achievements
Rank 1
answered on 07 Jun 2016, 04:18 PM
There is no edit button to modify my post.[quote]Alex said:

Duplicate of:

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

[/quote]

There is no edit button to modify my post.

Tags
MultiSelect
Asked by
Lawrence
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Lawrence
Top achievements
Rank 1
Share this question
or