File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export type Parameters = {
53
53
definitionData : { [ string ] : any } ,
54
54
definitionUi : { [ string ] : any } ,
55
55
category : string ,
56
- 'ui:option ' : { [ string ] : any } ,
56
+ 'ui:options ' : { [ string ] : any } ,
57
57
} ;
58
58
59
59
type DataType =
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ const supportedUiParameters = new Set([
148
148
'ui:widget' ,
149
149
'ui:autofocus' ,
150
150
'ui:autocomplete' ,
151
- 'ui:option ' ,
151
+ 'ui:options ' ,
152
152
'ui:field' ,
153
153
'items' ,
154
154
'definitions' ,
@@ -289,12 +289,12 @@ function checkObjectForUnsupportedFeatures(
289
289
) ;
290
290
291
291
// check unsupported ui option
292
- if ( uiProp === 'ui:option ' )
293
- Object . keys ( uischema [ parameter ] [ 'ui:option ' ] ) . forEach (
292
+ if ( uiProp === 'ui:options ' )
293
+ Object . keys ( uischema [ parameter ] [ 'ui:options ' ] ) . forEach (
294
294
( uiOption ) => {
295
295
if ( ! supportedOptions . has ( uiOption ) )
296
296
unsupportedFeatures . push (
297
- `UI Property: ui:option .${ uiOption } for ${ parameter } ` ,
297
+ `UI Property: ui:options .${ uiOption } for ${ parameter } ` ,
298
298
) ;
299
299
} ,
300
300
) ;
You can’t perform that action at this time.
0 commit comments