Skip to content

Instantly share code, notes, and snippets.

@JVanloofsvelt
JVanloofsvelt / A README.md
Created June 26, 2022 13:39 — forked from AndreasAmMueller/A README.md
FIX: Localised number format and wrong input type for decimal fields

As Microsoft is not capable of fixing an issue, which influences most of the non-english-speaking world, here is a possible fix until they've seen the urgent priority for this to be solved.

Startup.cs:

public void ConfigureServices {
	// [...]
	
	services.AddControllersWithViews(options =>
	{
 options.ModelBinderProviders.Insert(0, new CustomFloatingPointModelBinderProvider());