Hidden form Fields should not validate
REQUIRED INFORMATION
Ext version tested:Browser versions tested against:DOCTYPE tested against:Description:- Since fields may be shown/hidden based on some criteria, hidden fields should not validate. End users cannot fix fields that are hidden and fail validation. This would match 3.x functionality.
Steps to reproduce the problem:- create a form field with allowBlank: false and hide the field. When submitting the form will fail validation
The result that was expected:
HELPFUL INFORMATION
Screenshot or Video:See this URL for live test case: http://
Debugging already done:Possible fix:
Code:
(Ext.form.field.Base)
isValid: function() {
var me = this;
return me.hidden || me.disabled || me.validateValue(me.processRawValue(me.getRawValue()));
}
Additional CSS used:Operating System: