edandersen / core-admin

Fully automatic admin site CRUD UI generator for ASP.NET Core and .NET 8
Other
599 stars 111 forks source link

Double type verification problem #20

Closed gaetandezeiraud closed 3 years ago

gaetandezeiraud commented 3 years ago

Hi, I have updated to the last version. No matter the value (except integer), a double input show The field Price must be a number.. At the beginning, I thinking of a problem of localization (my browser is in French. So it used a comma, not a dot. But even with a dot, the problem is the same.

Here a screenshot of the DemoApp (in my fork, but the problem is the same with the 1.7.0). image

edandersen commented 3 years ago

Hi, in 1.8.0 I've made it so that commas are also accepted. Whilst the culture on the server will still need to be correct, this should at least low French users to use commas (or periods) here.