I'm using Quill editor with the ngx-quill NPM package. Everything is working great except that I just can't get the (blur) event to fire.
Right now, I'm getting it to fire on every text change within the editor. Here's the controller
ngOnInit() {
this.adminForm.controls['content'].valueChanges.subscribe(data => {
console.log('Changed Values', data);
});
}
And here's the HTML:
<quill-editor (change)="validateChange(field)" [formControlName]="field.id" [id]="field.id"></quill-editor>
But of course the (change) event stops firing the moment I move to a different input, and I can't find a way to access the (blur) event. What I really need is an observable that fires when the form field loses focus. I'm using an Angular 5 reactive (dynamic) form.
Thanks for any ideas!!