@strictly/react-form 0.0.28 → 0.0.30
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.
- package/.out/core/mobx/form_model.js +3 -2
- package/.out/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-check-types.log +1 -1
- package/.turbo/turbo-release$colon$exports.log +1 -1
- package/core/mobx/form_model.ts +2 -1
- package/dist/index.cjs +3 -2
- package/dist/index.js +3 -2
- package/mantine/specs/__snapshots__/value_input_hooks.tests.tsx.snap +3 -2
- package/package.json +3 -3
|
@@ -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) {
|