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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.