/// <summary> /// Applies the browser validation by setting up one or /// more input rules on <see cref="IBrowserValidationGenerator"/>. /// </summary> /// <param name="config">The config.</param> /// <param name="inputType">Type of the input.</param> /// <param name="generator">The generator.</param> /// <param name="attributes">The attributes.</param> /// <param name="target">The target.</param> public override void ApplyBrowserValidation(BrowserValidationConfiguration config, InputElementType inputType, IBrowserValidationGenerator generator, IDictionary attributes, string target) { base.ApplyBrowserValidation(config, inputType, generator, attributes, target); generator.SetNumberOnly(target, BuildErrorMessage()); }