Starts in:
1 DAY
8 HRS
24 MIN
38 SEC
Starts in:
1 D
8 H
24 M
38 S
Open Closed

Validation is not displaying for entering invalid characters in "Role Name" text-box. #2193


User avatar
0
krushnakant created
  • ABP Framework version: v4.4.0
  • UI type: MVC / Razor Pages
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Role name field accepts any characters and white spaces(not showing error message on saving new role).
  • Module -> Volo.Identity.Pro (Pages -> Identity -> Roles)
  • Steps to reproduce the issue:"

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check and fix it, Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://github.com/jquery-validation/jquery-validation#reporting-issues-and-contributing-code

    IMPORTANT NOTE ABOUT EMAIL VALIDATION. As of version 1.12.0 this plugin is using the same regular expression that the HTML5 specification suggests for browsers to use. We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider using a custom method. In case you need to adjust the built-in validation regular expression patterns, please follow the documentation.

    You can consider to use

    jQuery.validator.setDefaults({
        normalizer: function(value) {
            return $.trim(value);
        }
    });
    

    https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#configuring-an-existing-bundle

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06