/** * @class Ext.data.validator.Range * @extend Ext.data.validator.Bound * @alias data.validator.range * * Validates that the the value is between a {@link #min} and {@link #max}. */ /** * @cfg {Number} min * The minimum value. * @accessor */ /** * @cfg {Number} max * The maximum value. * @accessor */ /** * @cfg {String} [minOnlyMessage="Must be must be at least {0}"] * @inheritdoc * @accessor */ /** * @cfg {String} [maxOnlyMessage="Must be no more than than {0}"] * @inheritdoc * @accessor */ /** * @cfg {String} [bothMessage="Must be between {0} and {1}"] * @inheritdoc * @accessor */ /** * @cfg {String} [nanMessage="Must be numeric"] * The error message to return when the value is not numeric. * @accessor */