enum sap.ui.comp.smartfield.TextInEditModeSource

Visiblity: public
Available since: N/A
Module: sap/ui/comp/library
Application Component: CA-UI5-CMP

Enumeration of sources from which text values for Codes/IDs are fetched in edit mode. The text is usually visualized as description/text value for IDs, for example, for LT (Laptop).


Properties Overview

Node Description
sap.ui.comp.smartfield.TextInEditModeSource.NavigationProperty

The text is fetched from the OData model property specified in the Path attribute of the com.sap.vocabularies.Common.v1.Text annotation.

sap.ui.comp.smartfield.TextInEditModeSource.None

The com.sap.vocabularies.UI.v1.TextArrangement annotation and the value of the displayBehaviour property of the configuration aggregation are not evaluated.

sap.ui.comp.smartfield.TextInEditModeSource.ValueList

The text is fetched from the OData model property specified in the Path attribute of the com.sap.vocabularies.Common.v1.Text annotation of the associated value list entity.

sap.ui.comp.smartfield.TextInEditModeSource.ValueListNoValidation

The text is fetched from the OData model property specified in the Path attribute of the com.sap.vocabularies.Common.v1.Text annotation. Could be a value which is not included in the associated value list entity.

Note Note that a scenario where more than one SmartField is bound to the same property could raise a performance issue depending on the number of the smart fields.