Skip to content

DestroyStrategy does not trigger when field no longer meets condition #689

Closed
@Gbiggert

Description

@Gbiggert

So I believe that this was addressed in issue #371 and I believe that a solution was purportedly merged however I am still having issues with this problem. So I have noticed that when you select a value which displays a conditional field, pick a value in the resulting conditional, change the value so the field no longer meets the condition (and the conditional field is hidden), and then change back to the previously selected condition, then the conditional field has retained its value. Now my desired functionality would be that upon the failure to meet the condition that the field would be removed and no data would be retained. Am I right in thinking that the current behavior is wrong? Would you have any suggestions as to working around this issue if this is the correct behavior.

Plunker

http://plnkr.co/edit/Yuc849V3BMKt2Ys42Tqo?p=preview

Related issues

#371

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions