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

Combobox does not sync the selected item

    XMLWordPrintable

    Details

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

      Description

      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>
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: