1. Click “Show Selected Field”, click the picklist button of the select field.
2. Click “Show Text Field”
3. Click “Show Selected Field”. Click the picklist button of the select field. You should see the dropdown is not rendered properly.
2. Click “Show Text Field”
3. Click “Show Selected Field”. Click the picklist button of the select field. You should see the dropdown is not rendered properly.
Code:
<HTML><HEAD><TITLE>Test Show All</TITLE> <SCRIPT>var isomorphicDir = "isomorphic/"</SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT> <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT> <SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js></SCRIPT> </HEAD><BODY CLASS="pageBackground"> <SCRIPT> isc.screenReader = true; var myList = new Array(); for (var i = 0; i<2000; i++) { myList[i] = i; } isc.VStack.create({ left: 100, ID: "myVLayout2", members: [ isc.VStack.create({ ID: "myVLayout", members: ["form2"] }) ] }); isc.IButton.create({ top: 100, left: 100, width: 150, title: "Show Select Field", click: function() { myVLayout.setMembers(["form1"]); } }); isc.IButton.create({ top:100, left: 300, width:150, title: "Show Text Field", click: function() { myVLayout.setMembers(["form2"]); } }); isc.DynamicForm.create({autoDraw: false, ID:"form1",name:"GridLayout",numCols:1,colWidths:["100"],titleOrientation:"top",margin:0,fields: [{title:"<nobr>nReference - Select Field <\/nobr>",width:"*",colSpan:"1",vAlign:"bottom",errorIconWidth:16,errorIconHeight:16, valueMap:myList, ID:"nRef_SF_VIST_Blank",name:"nRef_SF_VIST_Blank",allowEmptyValue:true,fastCellUpdates:false,errorIconSrc:"\/cwf\/r\/cwfv\/error.png",_constructor:"SelectItem"}]}); isc.DynamicForm.create({ autoDraw: false, ID: "form2", fields: [{title: "Name"}] }); </script> </body> </html>
Comment