File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
scripts/dxcomponents/components/containers/templates Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export class SimpleTableSelectComponent extends BaseComponent {
8989 contextPageReference = pageReference . concat ( "." ) . concat ( referenceProp ) ;
9090 }
9191 const metadata = isMultiSelectMode
92- ? this . pConn . getFieldMetadata ( `@P . ${ referenceProp } ` )
92+ ? this . pConn . getFieldMetadata ( `${ referenceProp } ` )
9393 : this . pConn . getCurrentPageFieldMetadata ( contextPageReference ) ;
9494
9595 const { datasource : { parameters : fieldParameters = { } } = { } , pageClass } = metadata ;
@@ -148,8 +148,9 @@ export class SimpleTableSelectComponent extends BaseComponent {
148148 }
149149
150150 #isSelfReferencedProperty( param , referenceProp ) {
151- const [ , parentPropName ] = param . split ( "." ) ;
152- return parentPropName === referenceProp ;
151+ const [ , parentPropName ] = param . split ( '.' ) ;
152+ const referencePropParent = referenceProp ?. split ( '.' ) . pop ( ) ;
153+ return parentPropName === referencePropParent ;
153154 }
154155
155156 #processFilters( theConfigProps , compositeKeys ) {
You can’t perform that action at this time.
0 commit comments