SharePat
1 Feb 2010, 12:08 PM
Hello,
I'm testing a FormPanel and got a bug on window close, I think it is some naming collision.
Reduced my code to the core problem (to be tested in an Examples subdirectory):
<html>
<link type="text/css" rel="stylesheet" href="../../resources/css/ext-all.css">
<script type="text/javascript" src="../../adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" src="../../ext-all-debug.js"></script>
<script>
Ext.onReady(function(){
var fp = new Ext.form.FormPanel({
renderTo: 'f',
items: [{ fieldLabel: 'ID',
xtype: 'textfield',
name:'id'
}
]
});
});
</script>
<body>
<div id="f"></div>
</body>
</html>
Replace the name value 'id' with anything else and everything works fine...
I didn't have this problem in Ext 2.2
Thanks in advance for any help.
I'm testing a FormPanel and got a bug on window close, I think it is some naming collision.
Reduced my code to the core problem (to be tested in an Examples subdirectory):
<html>
<link type="text/css" rel="stylesheet" href="../../resources/css/ext-all.css">
<script type="text/javascript" src="../../adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" src="../../ext-all-debug.js"></script>
<script>
Ext.onReady(function(){
var fp = new Ext.form.FormPanel({
renderTo: 'f',
items: [{ fieldLabel: 'ID',
xtype: 'textfield',
name:'id'
}
]
});
});
</script>
<body>
<div id="f"></div>
</body>
</html>
Replace the name value 'id' with anything else and everything works fine...
I didn't have this problem in Ext 2.2
Thanks in advance for any help.