Skip to content

Error thrown when Editor in Reactive form in Mat Dialog #598

Description

@electrocrat

Angular version: 20
Angular-Editor version: 3.0.5

Multiple errors are thrown when the Editor is opened in a Reactive Form in a Mat Dialog:

Image

stackblitz demo:

https://angular-qrysuvyu.stackblitz.io

The issue is that the toolbar buttons are bound using ngModel so when the angular-editor itself is bound to the reactive form using formControlName, this conflicts.

Also refer to:
#555 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions