We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a43ec9 commit fe48776Copy full SHA for fe48776
FormCraft/Forms/Extensions/ServiceCollectionExtensions.cs
@@ -36,7 +36,7 @@ public static IServiceCollection AddFormCraft(this IServiceCollection services)
36
37
// Only register built-in field renderers if no UI framework adapter is registered
38
// This allows UI framework-specific renderers to take precedence
39
- if (!services.Any(s => s.ServiceType == typeof(IUIFrameworkAdapter)))
+ if (services.All(s => s.ServiceType != typeof(IUIFrameworkAdapter)))
40
{
41
services.AddScoped<IFieldRenderer, StringFieldRenderer>();
42
services.AddScoped<IFieldRenderer, IntFieldRenderer>();
0 commit comments