enum sap.ui.comp.smartfield.ControlProposalType

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

Enumeration of the different control proposals supported by the Smart Field, if it is using an OData model.


Properties Overview

Node Description
sap.ui.comp.smartfield.ControlProposalType.None

No special context is selected. The Smart Field applies its internal defaults.

sap.ui.comp.smartfield.ControlProposalType.ObjectIdentifier

If this is selected, the sap.m.ObjectIdentifier control is used to display IDs, if they are not editable. The current OData property is assumed to have a text annotation. Otherwise the configuration is ignored.

sap.ui.comp.smartfield.ControlProposalType.ObjectNumber

If this is selected, the sap.m.ObjectNumber control is used to display units of measure. If the value property of the Smart Field is not bound to a unit of measure, the property is ignored.