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

Inplace input element may fail when set button visible dynamically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.8
    • 5.0.7.1
    • Components
    • None

      Test case:

      <zk>
      <div>
      1. Click "Button Visible" and focus on the inplace Datebox and Spinner. The DOM layout should be correct.
      </div>
      <div>
      2. Click "Button Visible" again. The DOM layout should be correct.
      </div>
      <div>
      Datebox:
      <datebox id="db" buttonVisible="false" inplace="true" />
      </div>
      <div>
      Spinner:
      <spinner id="sp" buttonVisible="false" inplace="true" value="0" />
      </div>
      <button label="Button Visible">
      <attribute name="onClick">
      sp.buttonVisible = !sp.buttonVisible;
      db.buttonVisible = !db.buttonVisible;
      lb.value = "" + sp.buttonVisible;
      </attribute>
      </button>
      <label id="lb" />
      </zk>

            SimonPai SimonPai
            SimonPai SimonPai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: