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

chsenbox updates only the necessary DOM elements

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.5.1.2
    • Fix Version/s: 8.6.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.0 S1, ZK 8.6.0 S2

      Description

      Steps to Reproduce

      1. run the attached zul
      2. type 'a', wait for 3 seconds, let the server updates the model

      Current Result

      user input is cleared

      Expected Result

      user input is kept.

      Debug Information

      when the model changes, it re-renders all its DOM elements.

      Workaround

      • the attached js

        Attachments

        1. chosenbox-invalidate.js
          0.7 kB
        2. t5751.zul
          0.3 kB
        3. T5751VM.java
          0.5 kB

          Issue Links

            Activity

              People

              Assignee:
              wenninghsu wenninghsu
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: