Skip to content

Specify 'destroyStrategy' for array item removal #916

Open
@andrei-dracea

Description

@andrei-dracea

Enhancement

As a developer, I would like to be able to set a destroyStrategy for array form types, so that when I remove an item, I can have it empty instead of destroyed (to keep track of changes).

Expected behaviour

I expected destroyStrategy to work on array form types.

Actual behaviour

It actually does not work like that. Nor does it provide any means of intercepting the remove item event.

Gist/Plunker/Demo

You can check in the Array section of the demo.
http://schemaform.io/examples/bootstrap-example.html

Thanks!

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