Skip to content

Config option to wipe the model when a condition is no longer fulfilled? #344

Closed
@jbsaff

Description

@jbsaff

I'd like wipe out user input from the model when the condition on a form field is no longer met. Currently the model is updated when a condition is met, but not when it no longer applies. Is there an option that I'm missing? A plain angular ng-if seems to do what I want, but that's because the form only submits elements in the DOM. I'd like to just take the schema-form model as my finished form response and go from there.

Any pointers would be greatly appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions