Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

[Feature Request] Add option to disable OnFieldChanged validation #255

@Shipibo303

Description

@Shipibo303

In current implementation, FluentValidationValidator runs validation on every field change by default. While this is common behavior, it may not be desirable for some use cases, where validation after form submit would be sufficient. Now when users want their form to be validated only after it's submitted, they have to resort to manual validation in their submit handler.

Proposed solution
It would be nice to introduce a bool parameter, perhaps called ValidateOnFieldChanged, that would allow to customize validation behavior.

<FluentValidationValidator ValidateOnFieldChanged="false"/>

The parameter would have default true value to ensure backward compatibility.

I am willing to implement this feature if is considered valuable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestRequest to add a new featureTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions