Skip to Content
0

Hi, Combobox is not showing any Item Record.

Mar 30, 2017 at 10:16 AM

42

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Akhilesh Upadhyay Mar 30, 2017 at 10:57 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Mar 30, 2017 at 12:30 PM
0
<core:Item  text="{odata>Plant}" key="{odata>Plant}" />

model name is required.

Share
10 |10000 characters needed characters left characters exceeded