Open Closed

Form validation for other cultures #5401


User avatar
0
svote created
  • ABP Framework version: v7.2.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: The Price field must be a number
  • Steps to reproduce the issue:"

Hi, I followed the web development tutorial to create the BookStore sample application. As long as I use the app under the English language it also works as expected. However, when I set the application to German, I get the following errors when editing the price of a record:

12.50 -> This value is converted to 1250 and saved in the backend. 12,50 -> Here I get the error message that the value is not valid and must be a number.

This issue also appears with DateTime fields. In German I expect the value dd.mm.yyyy but receive in the Modal mm/dd/yyyy


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

    hi

    https://support.abp.io/QA/Questions/732/jQuery-Validation-fails-for-decimals-with-german-culture#answer-37eede0a-4adf-701b-98b0-39f9b9520ee9

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