It seems like r$.$validate() does not work. It doesn't show any validation messages. I have set autoDirty: false. I also noticed that there is another method called r$.$parse() which does show error messages. It is confusing. It is not clear what exactly the difference between $parse and $validate is.
Here you can see that when I click on Save which calls r$.validate() nothing happens. I expected the form to be validated and the error messages to show up.
$parse is better to use because it will also return the result of the validation and a type safe output of your form. I will see how to better make the difference
It seems like
r$.$validate()
does not work. It doesn't show any validation messages. I have setautoDirty: false
. I also noticed that there is another method calledr$.$parse()
which does show error messages. It is confusing. It is not clear what exactly the difference between $parse and $validate is.Reproduction: https://stackblitz.com/~/github.com/martinszeltins/regle-test-7
Here you can see that when I click on
Save
which callsr$.validate()
nothing happens. I expected the form to be validated and the error messages to show up.Screencast:
https://github.com/user-attachments/assets/8e77a2aa-7cf5-4da0-ae3a-1a9977381ba3