Some nested forms shouldn't get validated when the root form is.
For example, a small form to add some item to a main form. The small form should only be validated if the add button is clicked, and the form doesn't contain any data used to save the main form.
This will likely be a simple bool on TyneFormFluentValidator to disable the call to RootFluentValidator.RegisterNestedValidator in OnInitialized.
Some nested forms shouldn't get validated when the root form is.
For example, a small form to add some item to a main form. The small form should only be validated if the add button is clicked, and the form doesn't contain any data used to save the main form.
This will likely be a simple bool on
TyneFormFluentValidator
to disable the call toRootFluentValidator.RegisterNestedValidator
inOnInitialized
.