Skip to Content

SAP FIORI SAPUI5 Change ValueHelpField Height

Jan 04, 2017 at 03:17 PM


avatar image
Former Member

Hello Experts,

I've extended a standard fiori application SD_SO_CRE adding some fields and buttons in a screen. My problem is that sap.ui.commons:ValueHelpField does not fit correctly. Is there any way to change sap.ui.commons:ValueHelpField height ??

Extension example Code

<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:sap.ui.commons="sap.ui.commons" xmlns:sap.ui.ux3 = "sap.ui.ux3" xmlns:sap.ui.layout="sap.ui.layout"> <sap.ui.commons:ValueHelpField id="SOC_ITM_CAT" value="{path:'soc_cart>ItemCategory', type:'sap.ui.model.type.String'}" width="6em" valueHelpRequest="handleValueHelp"> </sap.ui.commons:ValueHelpField> <Button id="SOC_CHARAC" icon="sap-icon://edit" tap="changeCharacteristics"></Button> </core:FragmentDefinition>

Result Image

Thank you in advance

capture.png (8.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Krishna Kishor Kammaje
Jan 04, 2017 at 04:32 PM

sap.ui.commons is deprecated and also is not compatible with other sap.m controls. I would suggest you to use sap.m.Input with property showValueHelp="true".

10 |10000 characters needed characters left characters exceeded