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

listbox (mold="select") re-renders after first au response

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 8.6.1
    • 8.6.0, 8.6.0.1
    • Components
    • Security Level: Jimmy

    Description

      Steps to Reproduce

      <zk xmlns:w="client">
      	<listbox mold="select" w:onBind="zk.log('render')">
      		<listitem label="aaa" selected="true"/>
      		<listitem label="bbb" />
      	</listbox>
      	<button onClick="" label="trigger au"/>1st click triggers unnecessary re-render of the listbox
      </zk>
      

      click the button

      Current Result

      the first click causes the listbox to re-render

      Expected Result

      only re-render when necessary

      Debug Info

      Root Cause

      side effect of ZK-2756

      Workaround

      Attachments

        Issue Links

          Activity

            People

              rudyhuang rudyhuang
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified