Skip to Content
avatar image
Former Member

Hi, Combobox is not showing any Item Record.

Hi, I am trying to load Plants Number. The URL is hitting correctly in the back end as you can see from the Network Tab Image but data is not getting loaded. The DropDown of combobox is loading but it is not populating any data. Is there anything wrong with the Binding(the data is coming in a bach format)Please need some advice.

metadata.png<semantic:content>
			
			<form:SimpleForm id="SimpleFormChange354"
			
			maxContainerCols="2"
			editable="true"
			layout="ResponsiveGridLayout"
			title=""
			labelSpanL="2"
			labelSpanM="2"
			emptySpanL="8"
			emptySpanM="8"
			columnsL="0"
			columnsM="0"
			class="editableForm">
				<form:content>
					
					<Label text="Plant" />
					<ComboBox id="plantId" 
items="{odata>/Plants/}">
						<items>
						<core:Item  text="{Plant}" key="{Plant}" />
						</items>
					</ComboBox>

</network.pngsemantic:content>
output.png (4.0 kB)
network.png (16.7 kB)
metadata.png (10.7 kB)
component.png (10.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 30, 2017 at 10:57 AM

    I think extra "/" might be the issue in items="{odata>/Plants/}" remove that.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2017 at 12:30 PM
    <core:Item  text="{odata>Plant}" key="{odata>Plant}" />

    model name is required.

    Add comment
    10|10000 characters needed characters exceeded