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

Comboitems outside of combobox when updating the model

XMLWordPrintable

      When the model of a combobox is modified, its comboitems are sometimes (not always, but almost always) copied outside of it.

      I already posted a question in the forum (see this thread: http://forum.zkoss.org/question/98757/why-are-my-comboitems-outside-of-their-combobox) but I didn't get an answer.

      I was able to create a working test case, see attachments.

      In the example code, I clear the list then refill it. I also tried to instantiate a new one then call the setter. The bug occurs in both cases.

        1. BugViewModel.java
          1 kB
          MathieuPiette
        2. testbugzk.zul
          0.3 kB
          MathieuPiette

            jumperchen jumperchen
            MathieuPiette MathieuPiette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h