Posted 14 September 2017, 12:04 pm EST
I’m using Wijmo with Angular 2 dynamic forms. There seems to be a bug with the MultiSelect field that causes the
valueChanges
event to only fire when the first checkbox is checked/unchecked. This is the relevant part in my code:
this.form.controls['myMultiSelectField'].valueChanges.subscribe(newValue => {
console.log('MultiSelect value changed');
});
In the example above, the console log message is only printed when the first item is checked/unchecked in the MultiSelect, and not for the subsequent ones. I have used
checkedItemsChanged
event as a workaround to track these value changes, but it adds a lot of boilerplate to the code and doesn’t seem to be an ideal solution.