-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 7.0.0, 6.5.4
-
Component/s: None
-
None
-
Environment:
SpringMVC example from this smalltalk - http://books.zkoss.org/wiki/Small_Talks/2012/November/Integrate_ZK_with_Spring_MVC_3
-
None
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