Kendo-combobox valuePrimitive OnValueChange trigger

337 views Asked by At

In kendo-combobox, the valuePrimitive property when set to true, the OnValueChange is triggered twice.

Kindly look at the Plunkr for more info

@Component({
  selector: 'my-app',
  template: `
    <kendo-combobox
        [data]="data"
        [textField]="'text'"
        [valueField]="'value'"
        (valueChange)="handleValue($event)"
        [valuePrimitive]="true"
    >
    </kendo-combobox>
    <br />

    Last 10 calls:
    <ul>
        <li *ngFor="let call of eventCalls">{{ call.name }}: <pre>{{ call.value | json }}</pre></li>
    </ul>
  `
})
1

There are 1 answers

2
knikolov On

It looks like it is not reproducible with the latest version

handleValue(value) { 
  console.log('value change')
}

http://plnkr.co/edit/JwdRmBSjxqyKG3AbWW5r?p=preview