AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Can't enter the price
I create a new entry with price "1". The displayed value on the index and edit pages is "1,00" (local decimal delimiter is comma). Edit page does't accept decimal numer in any format: it complains if I use comma as a separator and ignores dot if I try to use it as a separator, and in the latter case records the new value "100". I guess this is a jQuerry validator error?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
- Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
- Content: Part 2, add a model
- Content Source: aspnetcore/tutorials/razor-pages/model.md
- Product: aspnet-core
- Technology: aspnetcore-tutorials
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
The answer is on the next page in the tutorial.