File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -476,6 +476,7 @@ export function generateElementPropsFromSchemas(parameters: {
476
476
newElement . name = parameter ;
477
477
newElement . required = requiredNames . includes ( parameter ) ;
478
478
newElement . $ref = elementDetails . $ref ;
479
+ newElement . dataOptions = elementDetails ;
479
480
480
481
if ( elementDetails . type && elementDetails . type === 'object' ) {
481
482
// create a section
@@ -484,7 +485,6 @@ export function generateElementPropsFromSchemas(parameters: {
484
485
newElement . propType = 'section' ;
485
486
} else {
486
487
// create a card
487
- newElement . dataOptions = elementDetails ;
488
488
newElement . uiOptions = uischema [ parameter ] || { } ;
489
489
490
490
// ensure that uiOptions does not have duplicate keys with dataOptions
You can’t perform that action at this time.
0 commit comments