Ends in:
7 DAYS
22 HRS
10 MIN
51 SEC
Ends in:
7 D
22 H
10 M
51 S
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 November 20, 2024, 13:06