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

How to implement this in Angular's reactive form ? #13

Open
itssajan opened this issue Aug 23, 2017 · 1 comment
Open

How to implement this in Angular's reactive form ? #13

itssajan opened this issue Aug 23, 2017 · 1 comment

Comments

@itssajan
Copy link

Hello,

I'm relatively new to Angular 2. So when I implemented the validations, I used reactive forms instead of going with ngModel.
In the example you only specify with ngModel. Can this be implemented in reactive form ?

Thanks.

@rnadler
Copy link
Owner

rnadler commented Aug 24, 2017

I suppose it could be implemented with ReactiveFormsModule, but it's currently not coded that way. A cursory reading of How to use both FormsModule and ReactiveFormsModule in a feature module seems to indicate that template-driven and reactive forms can coexist in the same project.

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

2 participants