I have a StandardListItem
with concatenated string literals like this:
new StandardListItem({
title: "{BOM/#text}",
description: "Version: " + "{REVISION/#text}"
});
How can I achieve getting the description like "Version: <bound value>"?
When I delete the "Version: " +
in the description
, it works very well.
Thanks to Rahul!
Adding
data-sap-ui-xx-bindingSyntax="complex"
to the bootstrap in your index.html will do the trick
<script src="/sapui5/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-libs="sap.m,sap.ui.layout,sap.ui.commons,sap.ui.table"
data-sap-ui-theme="sap_bluecrystal">
</script>