Kendo-angular: AbstractControl.setValue has a delayed update on the UI for kendo datepicker

Created on 14 Nov 2017  路  4Comments  路  Source: telerik/kendo-angular

I'm submitting a...

  • Regression report

Current behavior


Using the setValue function on an angular AbstractControl causes a delayed update to the UI. After calling the function the UI will initially look like the value has not changed. However, any validators on the component will work showing that the value has been updated internally. Upon focusing the datepicker control (tabbing to it or clicking on it) will update the view showing the new value.

Expected behavior


The new value should update in the view without user interaction.

Minimal reproduction of the problem with instructions

+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @angular/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @progress/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- [email protected] extraneous
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

Browser:

  • Chrome (desktop) version 61
  • Firefox version 56

System:

  • TypeScript version: 1.0.3.0
  • Node version: 6.11.0
  • Platform: Windows
Bug date-inputs

Most helpful comment

Version 1.4.1 is out. Please update @progress/kendo-angular-dateinputs package to get this issue resolved.

Will close the thread as resolved. Please comment if I'm missing something.

All 4 comments

Thanks for the report. Indeed, the component doesn't reflect the form model update. I prepared a simple plunker demo that replicates the issue:

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

Hi @eatinasandwich,

We've pushed a fix in our @dev channel. Could you install @progress/kendo-angular-dateinputs@dev and let me know whether the issue still persists? The latest dev version is 1.4.1-dev.201711151210.

I have installed the latest dev and I can confirm it is fixed.

Version 1.4.1 is out. Please update @progress/kendo-angular-dateinputs package to get this issue resolved.

Will close the thread as resolved. Please comment if I'm missing something.

Was this page helpful?
0 / 5 - 0 ratings