Coalesce icon indicating copy to clipboard operation
Coalesce copied to clipboard

Add $clone method to ViewModel instances

Open ascott18 opened this issue 11 months ago • 0 comments

A common scenario is to make an editor dialog that operates off a copy of a ViewModel to avoid mutating the page undearneath with edits that might not be saved. A simple way to clone a ViewModel, including data properties, dirty state, $params, and possibly other things would be useful for this scenario.

ascott18 avatar Mar 05 '24 21:03 ascott18