Bodor Gergely
Bodor Gergely
We have a similar issue on ng version 8. The translation files cannot be found, but same configuration works on a version 7 project.
This is because you are changing the data that you are binding to a template element after said template has been checked by angular. I believe this is not going...
Just do this in your component: ``` import { AfterViewChecked, ChangeDetectorRef, Component } from '@angular/core'; @Component( ... ) export class YourComponent implements AfterViewChecked { constructor(private ref: ChangeDetectorRef) { } ngAfterViewChecked():...
Hi! I coded a working example of form implementation for your select2 component! We are actually using this code in one of our web-app. Please review our changes!
Yes. The other one seems incomplete to me. I tried using that in a project and didn't work.
> Another point is that I believe we should not return just the value (i.e. a string). This often means information loss. Instead we should return an object with the...
The `value` input is of type string or string array as far as i know. When you initialize your form with select2 in it, you initialize it with a string...
I just don't think passing any other object other than the selected values into a form is practical. If you need any other fields of the Select2OptionData object, just write...
Hey, guys! I was able to use DynamicComponentModule with aot build. I don't know if i am missing something, but it went without any complications. I made a repo, check...
@maychan111 Yes, you are right! Upon further inspection I noticed it too. But in simple cases such as I included, it still works with aot.