/** * @class Ext.data.validator.Presence * @extend Ext.data.validator.Validator * @alias data.validator.presence * * Validates that the passed value is not `null` or `undefined` or `''`. */ /** * @cfg {String} [message="Must be present"] * The error message to return when the value is not specified. * @accessor */ /** * @cfg {Boolean} [allowEmpty=false] * `true` to allow `''` as a valid value. * @accessor */