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

param options.value from DropDownList.virtual.valueMapper does not work on kendo ui 015.2.624

1 Answer 116 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Luiz
Top achievements
Rank 1
Luiz asked on 10 Jul 2015, 09:12 PM

Hi, 

 When I updated my kendo ui lib from version v2015.1.429 to v2015.2.624 the DropDownList configuration, virtual.valueMapper, is not working anymore. To be more exact, the parameter option.value is not retrieving the selected value from the dropdown list anymore. 

 

HTML:

  <input type="text" class="total-width-impt" kendo-drop-down-list k-options="fenceDropDownOptions" k-data-source="fences" name="origin_fence" data-bind="value:origin_fence_id">

 Javascript:

 $scope.fences =[...]

$scope.fenceHash = [...]

fenceOptions =
    dataTextField: 'label'
    dataValueField: 'id'
    delay: 500
    minLength: 3
    filter: 'contains'
    virtual:
      valueMapper: (options) ->
        options.success($scope.fenceHash[options.value].sort_index)
    dataSource:
      pageSize: 100

 

 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Jul 2015, 07:31 AM
Hello Luiz,

I tried to replicate the issue locally, but to no avail. Here is the Dojo demo, which implements client-side virtualization using Angular declaration: Would it be possible to modify the demo in order to demonstrate the issue?

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Luiz
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or