Skip to Content

Issue with UI5 Combobox data binding

Hi Experts,

I am getting the below error while binding the Json data to the dropdown

and below is the code which we have in XML

<ComboBox id="combo" items="{ path: '/Form', sorter: { path: 'firstname' } }">
<core:Item key="{firstname}" text="{firstname}" />
</ComboBox>

Can somebody tell where i am doing the mistake ? and help me to resolve the issue.

KR,

Anil

error.png (152.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 23 at 09:47 AM

    Hi Anil,

    you have not included below library in your view. add the library and try again.

    xmlns:core="sap.ui.core"
    Add comment
    10|10000 characters needed characters exceeded