cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Valuehelp button for Selection field in fiori element

abdul_hakim
Active Contributor
0 Kudos

Hello

May i know if it is possible to disable to value help button which appears by default for selection field in fiori element list report using ABAP annotation.

 

Regards,

Abdul Hakim

Accepted Solutions (1)

Accepted Solutions (1)

Dinu
Contributor

I suppose you want to restrict the selection field to only take a single value. The following annotation should do it for v4 services. If there is a value help for the data field, it will still be available. But the user can only make one selection. 

 

 

FilterExpressionRestriction.AllowedExpressions = "SingleValue"
       @Consumption.filter.multipleSelections: false 
       @Consumption.filter.selectionType: #SINGLE

 

 

See: UI5 Demo Kit | Configuring Filter Fields 

for v2 use the annotation sap:filter-restriction="single-value".

abdul_hakim
Active Contributor
0 Kudos
Thanks for the response and solution. It worked.

Answers (0)