@singularsystems/neo-react 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -150,7 +150,8 @@ var ReactModelCreator = /** @class */ (function (_super) {
|
|
|
150
150
|
currentValue.length = 0;
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
153
|
-
|
|
153
|
+
var newValueAsList = newValue;
|
|
154
|
+
if (newValueAsList.createChild !== undefined && newValueAsList.addNew !== undefined) {
|
|
154
155
|
// Cannot re-assign this property, so we have to clear the array, and copy the items from the source array.
|
|
155
156
|
Utils.batchUpdate(function () {
|
|
156
157
|
currentValue.length = 0;
|