-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.0
-
None
-
None
<window > <label multiline="true"> 1.click open editor 1, the button Save should be enabled and click-able (however it is disabled but click-able if the bug is not fixed) </label> <zscript> void open1(){ win.visible=true; win.getFellow("btn").disabled=false; win.title = "Update"; } void open2(){ win.getFellow("btn").disabled=false; win.visible=true; win.title = "Update"; } void close(){ win.visible=false; } </zscript> <button label="Open Editor 1" onClick="open1()" /> <button label="Open Editor 2" onClick="open2()" /> <window id="win" mode="modal" width="30em" height="30ex" visible="false" > <vlayout vflex="1"> <textbox id="tb" instant="true" rows="2" hflex="1" vflex="1" value="ABCD" /> </vlayout> <hbox pack="end" width="100%"> <button id="btn" label="Save" onClick="close" disabled="true" /> </hbox> </window> </window>
- blocks
-
ZK-1436 button disabled state not synchronized
- Closed