Skip to content

ModelWrapper should support updating default values #366

@sideisra

Description

@sideisra

The ModelWrapper has the abbility to set default values for each wrapped value. When reset is called the constucted fields will get these default values.
The default can be set initially only but under some circumstances it is necessary to update these values to the current model values.

It would be great when ModelWrapper provides an updateDefaults method which loads the values from the model and sets them as new default values so that subsequent reset calls rest the values to the new ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions