Skip to content

Instantly share code, notes, and snippets.

View AndreasAmMueller's full-sized avatar

Andreas Müller AndreasAmMueller

View GitHub Profile
AndreasAmMueller / A
Last active July 25, 2023 07:44
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.


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