Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically change validationRules depending on submit action #189

Open
lizdenhup opened this issue Dec 18, 2017 · 0 comments
Open

Dynamically change validationRules depending on submit action #189

lizdenhup opened this issue Dec 18, 2017 · 0 comments

Comments

@lizdenhup
Copy link

Hi!

This is a great library which I realize is not being actively maintained right now, but I opened this issue in case anyone else has figured out how to use angular-form-for in this way:

I would like to dynamically change the validationRules being passed in to the form depending on whether a user clicks one of two buttons. Is this possible? I've read the documentation and perhaps this is me not understanding, but I would really like to have some way to alter which set of validationRules gets passed in depending on a user's action. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant