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

Re-rendering a listbox produces a javascript error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.5.0
    • 9.0.0, 9.1.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 9.5.0 S1

      Steps to Reproduce

      1. run the attached example
      2. click "notify" button

      Current Result

      zk.wpd:26252 Uncaught TypeError: Cannot read property 'value' of undefined
      at init.bind_ (zul.inp.wpd:828)
      at init.$supers (zk.wpd:12819)
      at init.bind_ (zul.db.wpd:1143)
      at init.bindChildren_ (zk.wpd:22520)
      at init.bind_ (zk.wpd:22483)
      at init.$supers (zk.wpd:12819)
      at init.bind_ (zul.inp.wpd:825)
      at init.$supers (zk.wpd:12819)
      at init.bind_ (zul.db.wpd:3366)
      at init.bindChildren_ (zk.wpd:22520)

      Expected Result

      no error.

      Debug Information

      • textbox, intbox, and spinner don't have this bug.

        1. listbox.zul
          0.5 kB
          hawk
        2. ListboxViewModel.java
          0.4 kB
          hawk

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 4 hours Remaining Estimate - 2 days, 4 hours
                2d 4h
                Logged:
                Time Spent - 4 hours Remaining Estimate - 2 days, 4 hours
                4h