Hi,
I'm trying to load the Store with the values from the form (vales from the texfield acts as input)

Here is my code
var form = Ext.create('Ext.form.Panel', {
fullscreen: true,
items: [ {
xtype: 'textfield',
name: 'name',
label: 'Name'
}, {
xtype: 'emailfield',
name: 'email',
label: 'Email'
}, {
xtype: 'passwordfield',
name: 'password',
label: 'Password'
}, {
xtype: 'button',
text: 'Submit',
listeners: {
tap: function() {
alert(form.getValues());
}
}
}]
});
I was expecting the entered input values to appear in the alert. Instead I'm getting
[object Object]

Can anyone please point out what is wrong here?
Thanks