@formio/js 5.1.0-dev.6105.96dde7b → 5.1.0-dev.6107.3898f3a
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.
@@ -492,10 +492,6 @@ class DataGridComponent extends NestedArrayComponent_1.default {
|
|
492
492
|
options.row = `${rowIndex}-${colIndex}`;
|
493
493
|
options.rowIndex = rowIndex;
|
494
494
|
options.onChange = (flags, changed, modified) => {
|
495
|
-
if (changed.component.type === 'form') {
|
496
|
-
const formComp = (0, utils_1.getComponent)(this.component.components, changed.component.key);
|
497
|
-
lodash_1.default.set(formComp, 'components', changed.component.components);
|
498
|
-
}
|
499
495
|
this.triggerChange({ modified });
|
500
496
|
};
|
501
497
|
let columnComponent;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _ from 'lodash';
|
2
2
|
import NestedArrayComponent from '../_classes/nestedarray/NestedArrayComponent';
|
3
|
-
import { fastCloneDeep, getFocusableElements
|
3
|
+
import { fastCloneDeep, getFocusableElements } from '../../utils/utils';
|
4
4
|
export default class DataGridComponent extends NestedArrayComponent {
|
5
5
|
static schema(...extend) {
|
6
6
|
return NestedArrayComponent.schema({
|
@@ -488,10 +488,6 @@ export default class DataGridComponent extends NestedArrayComponent {
|
|
488
488
|
options.row = `${rowIndex}-${colIndex}`;
|
489
489
|
options.rowIndex = rowIndex;
|
490
490
|
options.onChange = (flags, changed, modified) => {
|
491
|
-
if (changed.component.type === 'form') {
|
492
|
-
const formComp = getComponent(this.component.components, changed.component.key);
|
493
|
-
_.set(formComp, 'components', changed.component.components);
|
494
|
-
}
|
495
491
|
this.triggerChange({ modified });
|
496
492
|
};
|
497
493
|
let columnComponent;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@formio/js",
|
3
|
-
"version": "5.1.0-dev.
|
3
|
+
"version": "5.1.0-dev.6107.3898f3a",
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
5
5
|
"main": "lib/cjs/index.js",
|
6
6
|
"exports": {
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
|
87
87
|
"abortcontroller-polyfill": "^1.7.5",
|
88
88
|
"autocompleter": "^8.0.4",
|
89
|
-
"bootstrap": "^5.3.
|
89
|
+
"bootstrap": "^5.3.4",
|
90
90
|
"browser-cookies": "^1.2.0",
|
91
91
|
"browser-md5-file": "^1.1.1",
|
92
92
|
"choices.js": "^11.0.6",
|