Catel and not validate on view loaded

132 views Asked by At

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

1

There are 1 answers

0
Geert van Horrik On BEST ANSWER

See the docs. In your vm ctor, set DeferValidationUntilFirstSaveCall to true