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
I don't think there is anything UI5 Language Assistant can do here. According to the SmartField API reference:
Although the sap.ui.comp.smartfield.SmartLabel is a private/internal control, the following basic use is allowed by applications for labeling the SmartField control.
I find this highly questionable since framework/control developers are supposed to adhere to the JSDoc Visibility Tags guidelines. And according to the Compatibility Rules:
[Application developers should] never use or override "private" functions that aren't part of the API Reference.
As such, sap.ui.comp.smartfield.SmartLabel should get the @public tag so that it appears in the API Reference if it's allowed to be used by applications.
The UI5 Language Assistant only displays the public API. Experimental, protected, restricted and private API will not be shown. All infos used by the UI5 Language Assistant is built on top of the JSDoc of UI5. If the API is available there publically it can be used.
BTW: The latest version 3.2.1 brings multi-version support for the UI5 Language Assistant. The version is derived from the minUI5Version of the closest manifest.json and resolved against the latest available and supported versions from UI5.
sap.ui.comp.smartfield.SmartLabelis not explicitly exposed by the framework although the documentation itself shows its usage in combination with theSmartFieldcontrol:https://sapui5.hana.ondemand.com/#/api/sap.ui.comp.smartfield.SmartField
Therefore user would expect this syntax to be supported. Unfortunately this is not true:
The text was updated successfully, but these errors were encountered: