I've a login form that requires the user to enter username/password. when it first loads the 2 fields are empty so a validation error appears on both fields. Is there a way with Catel I can disable validation on viewmodel's load?
Thanks
I've a login form that requires the user to enter username/password. when it first loads the 2 fields are empty so a validation error appears on both fields. Is there a way with Catel I can disable validation on viewmodel's load?
Thanks
See the docs. In your vm ctor, set
DeferValidationUntilFirstSaveCall
totrue