Hi,
I am facing issue while binding a JSON with backslash(/) in name in SAPUI5. While binding UI5 is treating string as path instead of name.
Eg.
oModel.setData({
"list":[
{
"na/me": "foo1 - initial selected - Now select another one"
},
{
"na/me": "foo2"
},
{
"na/me": "foo3"
},
{
"na/me": "foo4"
}
]
});
oList.bindAggregation("items", "/list", new sap.m.StandardListItem({
title: "{na/me}"
}));
Please find below link to snippix:
http://veui5infra.dhcp.wdf.sap.corp:8080/snippix/#41199
Please suggest how to bind data in such cases.
Regards,
Nikhil Agarwala