File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
docs-site/src/components/schema-form Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ export function prepSchema(schema) {
10
10
delete newSchema . not ;
11
11
}
12
12
13
+ // temporarily remove the Drupal-specific attributes object -- workaround to form error
14
+ if ( newSchema . properties [ 'attributes' ] ) {
15
+ delete newSchema . properties [ 'attributes' ] ;
16
+ }
17
+
13
18
for ( let property in newSchema . properties ) {
14
19
if ( newSchema . properties [ property ] . title === 'DEPRECATED' ) {
15
20
delete newSchema . properties [ property ] ;
@@ -20,7 +25,7 @@ export function prepSchema(schema) {
20
25
delete newSchema . properties [ property ] . ref ;
21
26
}
22
27
} catch ( error ) {
23
- console . log ( 'ref does not exist!' ) ;
28
+ // console.log('ref does not exist!');
24
29
}
25
30
26
31
try {
@@ -30,7 +35,7 @@ export function prepSchema(schema) {
30
35
}
31
36
}
32
37
} catch ( error ) {
33
- console . log ( '$ref does not exist!' ) ;
38
+ // console.log('$ref does not exist!');
34
39
}
35
40
}
36
41
Original file line number Diff line number Diff line change @@ -11259,6 +11259,11 @@ react-draggable@3.x, "react-draggable@^2.2.6 || ^3.0.3":
11259
11259
classnames "^2.2.5"
11260
11260
prop-types "^15.6.0"
11261
11261
11262
+ react-fast-compare@^2.0.4:
11263
+ version "2.0.4"
11264
+ resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
11265
+ integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
11266
+
11262
11267
react-grid-layout@^0.16.6:
11263
11268
version "0.16.6"
11264
11269
resolved "https://registry.yarnpkg.com/react-grid-layout/-/react-grid-layout-0.16.6.tgz#9b2407a2b946c2260ebaf66f13b556e1da4efeb2"
You can’t perform that action at this time.
0 commit comments