@strictly/react-form 0.0.28 → 0.0.29

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.
@@ -247,7 +247,7 @@ let FormModel = (() => {
247
247
  };
248
248
  }
249
249
  synthesizeFieldByPaths(valuePath, typePath) {
250
- var _b;
250
+ var _b, _c;
251
251
  const field = this.getField(valuePath, typePath);
252
252
  if (field == null) {
253
253
  return;
@@ -296,8 +296,9 @@ let FormModel = (() => {
296
296
  error,
297
297
  readonly: readonly && !this.forceMutableFields,
298
298
  required,
299
+ // make a copy of the index mapping and remove the final value (next id)
299
300
  // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
300
- listIndexToKey: this.listIndicesToKeys[valuePath],
301
+ listIndexToKey: (_c = this.listIndicesToKeys[valuePath]) === null || _c === void 0 ? void 0 : _c.slice(0, -1),
301
302
  };
302
303
  }
303
304
  getAccessorForValuePath(valuePath) {