Formwright
    Preparing search index...

    Variable changesetAdapterConst

    changesetAdapter: ModelAdapter<ChangesetLike> = ...

    Lets Formwright forms edit an ember-changeset changeset:

    • edits stay in the changeset; the model underneath changes only on submit
    • submit calls changeset.save(), which applies the changes and saves the model
    • reset calls changeset.rollback()
    • a nested form's model is its own changeset (saved when dirty) or part of the parent's

    Pair it with changesetValidator to run the changeset's validations when the form validates.