Skip to content

Instantly share code, notes, and snippets.

Avatar

Andreas Müller AndreasAmMueller

View GitHub Profile
@AndreasAmMueller
AndreasAmMueller / A README.md
Last active Aug 4, 2022
FIX: Localised number format and wrong input type for decimal fields
View A README.md

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());