Skip to content

When Using Reactive Forms, Form Control Value Doesn't Always Update #578

Description

@dkirkendall92

When using the Froala Editor in an Angular Reactive Form, the formcontrol value isn't properly updated after the 'formcontrol' has been reset.

Expected Behavior

After the formcontrol is reset, changes made to the contents of the Froala Editor should update the formcontrol value with the corresponding changes.

Current Behavior

Making a change to the contents of the editor initially updates the formcontrol value as expected. However, after you make a change, reset the formcontrol, and then make the same change again, the formcontrol value does not update from the value it was given upon reset. Another change must be made in addition to the first for the formcontrol value to update properly.

See StackBlitz example below for a demonstration of this issue.

Steps to Reproduce

StackBlitz Demo
Includes steps to reproduce

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions