View Full Version : textfield not holding the value when we tabbed out

kamalakarreddy vancha
2 Nov 2014, 11:26 PM
I created simple textfield.
when i entered value and tabbed out from the text field the value is clearing from the textfield..
I need help in this..

Kamalakar Reddy

3 Nov 2014, 3:44 PM
If you run this code in our fiddle, do you see this behavior?

Ext.create('Ext.form.Panel', {
title: 'Contact Info',
width: 300,
bodyPadding: 10,
renderTo: Ext.getBody(),
items: [{
xtype: 'textfield',
name: 'name',
fieldLabel: 'Name',
allowBlank: false // requires a non-empty value
}, {
xtype: 'textfield',
name: 'email',
fieldLabel: 'Email Address',
vtype: 'email' // requires value to be a valid email address format

You may have to show your code