November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
We ended up setting the global setting to camel case during startup, and overriding it in the Json call.
services.Configure<JsonOptions>(o =>
{
o.JsonSerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
});
I don't think this is the best fix though. The forms DataSubmitControl Json call should specify camel case since the Javascript included with the nuget package expects it.
Forms 5.1.0 javascript expects camel case capitalization on the return properties, but the return type SubmitActionResult and the Json call do not specifically specify camel case in the json serialization. Has anyone gotten ajax submissions to work without setting the global json version settings to camel case?