Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1276

Combobox does not sync the selected item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 6.5.0, 6.0.3, 5.0.12
    • 5.0.10, 6.0.2
    • Components
    • Security Level: Jimmy
    • 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>
      

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

              Created:
              Updated:
              Resolved: