alexnoddings / Tyne

C# libaries designed for making Line of Business Blazor apps more efficiently.
https://alexnoddings.github.io/Tyne/
MIT License
2 stars 0 forks source link

Add option to disable root form validation #119

Closed alexnoddings closed 6 months ago

alexnoddings commented 6 months ago

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.

alexnoddings commented 6 months ago

Added in v3.4.0.