Enum sap.ui.comp.smartfield.ControlProposalTypeModule: sap/ui/comp/library


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

Field Summary
sap.ui.comp.smartfield.ControlProposalType.ObjectIdentifierIf this is selected, the sap.m.ObjectIdentifier control is used to display IDs, if they are not editable.
sap.ui.comp.smartfield.ControlProposalType.ObjectNumberIf this is selected, the sap.m.ObjectNumber control is used to display units of measure.
Field Detail
sap.ui.comp.smartfield.ControlProposalType.None: string
No special context is selected. The Smart Field applies its internal defaults.
sap.ui.comp.smartfield.ControlProposalType.ObjectIdentifier: string
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: string
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.