Unplanned
Last Updated: 25 Jan 2019 12:56 by ADMIN

Hello,

Drop down widget is defaulted to first option even though ng-model is undefined, in case where we bind same value to k-data-value-field and k-data-text-field.

Please have a look on the below sample code where you can find issue. My expectation is drop down should not default when model value is not assigned. 

 

Code:

                                                          

<!DOCTYPE html>
<html>
<head>
    <base href="https://demos.telerik.com/kendo-ui/dropdownlist/angular">
    <style>html { font-size: 14px; font-family: Arial, Helvetica, sans-serif; }</style>
    <title></title>
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.1.115/styles/kendo.common-material.min.css" />
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.1.115/styles/kendo.material.min.css" />
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.1.115/styles/kendo.material.mobile.min.css" />

    <script src="https://kendo.cdn.telerik.com/2019.1.115/js/jquery.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2019.1.115/js/angular.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2019.1.115/js/kendo.all.min.js"></script>


</head>
<body>
<div id="example" ng-app="KendoDemos">
    <div class="demo-section k-content" ng-controller="MyCtrl">
    <input kendo-drop-down-list
            k-data-text-field="'name'"
            ng-model="data"
            k-data-value-field="'name'"
            k-data-source="productsDataSource"
            style="width: 100%"></input>


</div>
</div>

<script>
  angular.module("KendoDemos", [ "kendo.directives" ])
      .controller("MyCtrl", function($scope){
   // $scope.data=0;
    $scope.productsDataSource = new kendo.data.DataSource({
                        data: [{
            'name':'Active','id':0

          },{'name':'Cancel','id':1}]
                    }
                );





      });
</script>


</body>
</html>

 

 

 

 

 

Unplanned
Last Updated: 05 Nov 2019 07:49 by ADMIN
Created by: Michael D
Comments: 3
Category: DropDownList
Type: Bug Report
0

I am using a DropDownList with dynamic items that are grouped.

When opening the dropdown without items in the datasource the fixed group header is displayed empty.

When removing the last item from the datasource after the DropDown has already been opened, the first group header is still displayed when opening the dropdown.

I would expect the group header to never be displayed if there is no data.

See Dojo: https://dojo.telerik.com/EviPepIJ

Unplanned
Last Updated: 19 Nov 2019 15:00 by ADMIN

Hi 

I'm using  lastest version 

demo: https://dojo.telerik.com/eZOPEVeL

In offical demo i found a problem, i don't know that is a issue or any thing.

When i use DropDownList Virtualization, i filter "LILA-Supermercado" then selected a value 10780, then fire change event (that true)

Then, I open and close dropdownlist, does not choose any thing, just open and close, dropdownlist fire change event again (that not true)

this happen with any value which not loading before scroll.

some one help me

Unplanned
Last Updated: 13 May 2020 12:54 by Sebastian

Bug report

When filtering the DropDownList data when a limited amount of items remain the popup container is displayed above the DropDown element when sufficient space is available below the element

Reproduction of the problem

  1. Run this dojo
  2. Enter "123" - the popup container with the list of items is displayed below the DropDown element
  3. Enter "1234" - the popup container with the list of items is displayed above the DropDown element when sufficient space is available below the element
  4. Enter "12345" - the NoDataTemplate is displayed above the DropDown element when sufficient space is available below the element

Expected/desired behavior

The popup container with the list of items should be displayed below the DropDown element when sufficient space is available below the element

Environment

  • Kendo UI version: 2020.1.406
  • Browser: [all]
Unplanned
Last Updated: 03 Aug 2020 08:25 by Gopi
Created by: Gopi
Comments: 0
Category: DropDownList
Type: Bug Report
0

Bug report

Reproduction of the problem

Dojo example

  1. Inspect the value in the pre tag above the DropDownList and the selected value in the DropDownList.

Current behavior

The model has the extra spaces trimmed and there is a single space between the words:

<pre class="ng-binding">Magazzini Alimentari Riuniti</pre>

In the DropDownList the value properly contains 2 spaces between the words.

Expected/desired behavior

In the data the selected item has 2 spaces between the words: Magazzini Alimentari Riuniti
The model value should be identical to the data and the extra spaces should not be trimmed.

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all]