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

Autodisable not work when button/checkbox registered onClick event

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 8.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to Reproduce

      run the following code (also in checkbox)

      <button label="Button #1" autodisable="self" onClick='Clients.log("123");' />
      

      Actual Result

      autodisable not work

      Expected Result

      autodisable should work

        Activity

        Hide
        DevChu DevChu added a comment -

        It only happens when the network speed is very fast.
        See https://www.zkoss.org/wiki/ZK_Component_Reference/Essential_Components/Button#Autodisable
        The button will be enabled automatically, after the request has been served (i.e., the response has been sent back to the client). ...

        Show
        DevChu DevChu added a comment - It only happens when the network speed is very fast. See https://www.zkoss.org/wiki/ZK_Component_Reference/Essential_Components/Button#Autodisable The button will be enabled automatically, after the request has been served (i.e., the response has been sent back to the client). ...

          People

          • Assignee:
            DevChu DevChu
            Reporter:
            DevChu DevChu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: