PDA

View Full Version : Checkbox and Radio doesn't show up



marcoandrossana
22 Jun 2009, 11:53 AM
I'm trying to put a Checkbox in a Window but the box of the checkbox doesn't appear. Please help!

The code in the items of the window:

items: new Ext.form.FormPanel({
baseCls: 'x-plain',
labelAlign: 'left',
labelWidth: 55,
defaultType: 'textfield',
items: [{
xtype: 'checkbox',
boxLabel: 'Servidor local'
}, {
fieldLabel: "Login",
id: "log_login",
width: 180,
allowBlank: false,
blankText: 'O nome do usuário é obrigatório.'
}, {
id: "log_senha",
fieldLabel: 'Senha',
width: 100,
inputType: 'password',
allowBlank: false,
blankText: 'Senha é obrigatória.'
}]
}),

jratcliff
22 Jun 2009, 12:37 PM
I'm having the same issue with checkboxes and radioboxes not appearing in an Ext.form.FormPanel. The show up fine in Ext 2.x but do not show in Ext 3.0.

marcoandrossana
22 Jun 2009, 2:39 PM
I removed the <!DOCTYPE .... from the top of the html file and the Checkbox showed up. But other strange things happened to the menus and the checkboxes aren't so nice.