Skip to content

Form controls are not removed in below scenario #4126

@kanth609

Description

@kanth609

Description
Form controls are not being removed from form when i try to remove them dynamically

Minimal Reproduction
Navigate to the below stackblitz link

  1. click on add field, you will see the added controls in UI.
  2. now remove some of them.
  3. you will still see the controls in the form, which is not expected i feel. as soon as i remove and trigger build option, it should get removed from the control.

https://stackblitz.com/edit/angular-9udlh5-1nswgg4l?file=package.json

Image

You can see in image, that the controls are not removed even if there are no fields in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions