Kendo-angular: Trigger `valueChange` after the form control value is updated

Created on 8 Jun 2017  路  8Comments  路  Source: telerik/kendo-angular

Description

Our inputs components will trigger the valueChange event before calling the event defined through the ControlValueChange.registerOnChange callback.

Solution

Just call the ControlValueAccessor change event before ours.

Affected packages

  • [x] kendo-angular-inputs components
  • [x] kendo-angular-dateinputs components
  • [x] kendo-angular-dropdowns components
  • [x] kendo-angular-buttons components
  • [x] kendo-angular-upload component
Enhancement buttons date-inputs dropdowns inputs upload

Most helpful comment

Is this issue still being actively pursued? I'm waiting for Switch to be "fixed" in kendo-angular-inputs and there doesn't seem to have been any movement in a long time.

All 8 comments

Close this https://github.com/telerik/kendo-angular/issues/594 when the enhancement is implemented

Thanks, but too late for me, see my earlier issue #291 . I had to rewrite everything.

+1

Hi @EricSch,
it seems that we've overlooked the issue back then. Please excuse us for that.
Well, it's better later than never, I guess :).

Is this issue still being actively pursued? I'm waiting for Switch to be "fixed" in kendo-angular-inputs and there doesn't seem to have been any movement in a long time.

@kkalitowski the switch is fixed in the latest development builds. Working on the rest. Sorry for the delay!

Not applicable to the Buttons package as they do not emit valueChange.

Inputs fixed in @progress/[email protected]

Was this page helpful?
0 / 5 - 0 ratings