Skip to content

Commit 4846a78

Browse files
Update README.md
1 parent a1a1777 commit 4846a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public void ConfigureServices(IServiceCollection services)
370370
}
371371
```
372372
> **Note**
373-
> Note that the `AddFluentValidationClientsideAdapters` method is only available in FluentValidation 11.1 and newer. In older versions, you should use the `AddFluentValidation` method which enables *both* auto-validation and clientside adapters. If you only want clientside adapters and don't want auto validation, you can configure this by calling `services.AddFluentValidation(config => config.AutomaticValidationEnabled = false)`
373+
> Note that the `AddFluentValidationClientsideAdapters` method is only available in FluentValidation 11.1 and newer. In older versions, you should use the `AddFluentValidation` method which enables *both* auto-validation and clientside adapters. If you only want clientside adapters and don't want auto validation in 11.0 and older, you can configure this by calling `services.AddFluentValidation(config => config.AutomaticValidationEnabled = false)`
374374
375375
Alternatively, instead of using client-side validation you could instead execute your full server-side rules via AJAX using a library such as [FormHelper](https://github.com/sinanbozkus/FormHelper). This allows you to use the full power of FluentValidation, while still having a responsive user experience.
376376

0 commit comments

Comments
 (0)