DOM.populate should retain original content
When DOM.populate replaces a non-empty element, its original contents should be retained.
-
Original content is restored on future DOM.populatecalls with empty values, allowing for 'default' values in non-input elements. -
Utilize an 'original state' object under pd.DOM
This functionality is NOT final and is likely to change by the next release to be a boolean option, and utilize DOM.reset.
Edited by Lorin Halpert