cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hide dropdown from Value help annotation

589

Hello all,

I have a Fiori Elements V4 List Report app with a filterbar and a table. Some fields in the filterbar are annotated to display a value help:

myField @(
        Common.ValueList : {
            $Type : 'Common.ValueListType',
            CollectionPath : 'S4ProjectionEntity',
            SearchSupported: false,
            Parameters : [
                {
                    $Type : 'Common.ValueListParameterInOut',
                    LocalDataProperty : ID,
                    ValueListProperty : 'ID',
                }
            ],
        },
        Common.ValueListWithFixedValues : false,
    )

 I have SearchSupported: false because the CollectionPath is a projection entity from S4 and it is V2, so it does not support $search queries.

This is fine, but Fiori Elements creates a dropdown in the input field that does nothing because the Search is disabled:

albertoenriqueznews_0-1763126561882.png

Is there any way to remove this dropdown but keeping the value help?
Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

MioYasutake
SAP Champion
SAP Champion
0 Likes

@albertoenriqueznews 

Try disabling the search on the entity level, not the value list level.

annotate SalesOrder with @Capabilities: {SearchRestrictions: {Searchable: false}};

https://sapui5.hana.ondemand.com/sdk/#/topic/a5608eabcc184aee99e1a7d88b28816c  > Type-Ahead Support

https://sapui5.hana.ondemand.com/sdk/#/topic/3cdebeebb04b4205908140242c9d6817