form.submit({ submitEmptyText: false,//添加这条就不会提交emptyText success: function(form, action) { Ext.Msg.alert(‘保存成功‘, action.result.msg); addwin.destroy(); gridStore.load( {params : { flag : ‘list‘, start : 0, limit : PAGESIZE }}); }, failure: function(form, action) { Ext.Msg.alert(‘操作失败‘, action.result.msg); } });
ExtJS2.2 form表单提交时不提交emptyText
原文:http://www.cnblogs.com/mr-level/p/4647617.html