打开 关闭

jQuery Validation fails for decimals with german culture #732


User avatar
0
cbogner85 创建
  • ABP Framework version: v4.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hello,

I've added german language and everything is correctly formatted, however, jQuery Validation throws errors for decimal values, f.e. in EditModal:

Is this an error or am I missing a setting somewhere?

Thanks and best regards Claus


2 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    This is related to jquery-validation .

    https://github.com/jquery-validation/jquery-validation/issues/1577#issuecomment-139738276

    https://mfranc.com/javascript/jquery-valdiator-modyfing-decimal-separator/

  • User Avatar
    0
    cbogner85 创建

    Hi maliming,

    thank you for your quick reply!

    I couldn't imagine that such a mature plugin like jquery-validation has problems with different cultures, therefore I assumed an error in abp. Sorry for the inconvencience and thanks for pointing me in the right direction :)

    Best Claus

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11