Combobox does not sync the selected item

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 6.5.0, 6.0.3, 5.0.12
    • Affects Version/s: 5.0.10, 6.0.2
    • Component/s: Components
    • Security Level: Jimmy
    • None
    • None

      As code below, the Item 29 is selected but Combobox will not scroll to correct position after open.

      <zk>
      	<combobox id="cbx" xmlns:w="client">
      		<attribute name="onCreate"><![CDATA[
      			for (int i = 0; i < 30; i++) {
      				Comboitem ci = new Comboitem("Item "+i);
      				ci.setParent(self);
      				self.setSelectedItem(ci);
      			}
      		]]></attribute>
      	</combobox>
      </zk>
      

            Assignee:
            vincentjian
            Reporter:
            benbai
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: