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

Button's autodisable="self" will cause to stop the form request processing

XMLWordPrintable

      For example in the cart.zul.

      <button label="Confirm Order" type="submit" disabled="@bind(empty vm.cartList)" autodisable="self" />
      

      The issue is that the implement of setDisabled(true) in Button.js will use this.$n().disabled = v that will cause the submit button to stop.
      To avoid this issue, we need to delay the setting when the button's type is submit

            noahhuang noahhuang
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: