You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this release OpenUI5 is upgraded from version 1.88 to 1.89.
Version
Type
Category
Title
Description
Action
Available as of
1.89
Changed
Feature
Demo Kit Feedback
Demo Kit Feedback
Here are some Demo Kit improvements that we implemented based on your feedback:
You can now quickly cancel the global search by pressing [Esc].
We implemented a copy button in all code samples in the Documentation section:
We added a link for each API in the Demo Kit and you can now go directly to the source code file in GitHub:
Changed•Feature•Info Only•1.89
Info Only
2021-04-22
1.89
Changed
Feature
OpenUI5 OData V2 Model
OpenUI5 OData V2 Model
You can now provide unit and currency customizing for the sap.ui.model.odata.type.Unit and sap.ui.model.odata.type.Currency data types as part of the data service. For more information, see Currency and Unit Customizing in OData V2.
The preserveDecimals format option introduced in sap.ui.core.format.NumberFormat with OpenUI5 1.87 is now enabled by default, unless the style format option is set to either short or long. This applies to the following data types:
sap.ui.model.type.Currency
sap.ui.model.type.Float
sap.ui.model.type.Unit
sap.ui.model.odata.type.Currency
sap.ui.model.odata.type.Decimal
sap.ui.model.odata.type.Double
sap.ui.model.odata.type.Single
sap.ui.model.odata.type.Unit
This change fixes the shortcoming that displayed values can be truncated if the back end provides more decimals than accounted for on the UI. It is also a prerequisite for highlighting all instances of invalid data entered by the user if the same property is displayed in multiple places on the UI.
However, in some cases it can be necessary to display a value with fewer decimals than actually exist for the property. You would then need to add the preserveDecimals format option with a value of false to the type instance.
Changed•Feature•Info Only•1.89
Info Only
2021-04-22
1.89
Changed
Control
sap.m.Link, sap.m.ObjectIdentifier, sap.m.ObjectNumber, sap.m.ObjectStatus, and sap.ui.unified.Currency
sap.m.Link, sap.m.ObjectIdentifier, sap.m.ObjectNumber, sap.m.ObjectStatus, and sap.ui.unified.Currency
Similar to the sap.m.Text control, these controls now also implement the new emptyIndicatorMode property. It allows developers to display an empty text as a language dependent “-” symbol.
You can now define up to six columns in extra-large size in a form. For more information, see the API Reference, the Samples for Form, and the Samples for SimpleForm.