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

Not Able to use Reactive Forms with Redux #35

Open
niisar opened this issue May 28, 2017 · 1 comment
Open

Not Able to use Reactive Forms with Redux #35

niisar opened this issue May 28, 2017 · 1 comment

Comments

@niisar
Copy link

niisar commented May 28, 2017

Page.ts

frm: FormGroup;
constructor(private fb: FormBuilder) { }
ngOnInit() {
this.frm = this.fb.group({
email: ['', Validators.required],
});
}

Page.html

<form [formGroup]="frm" connect="ReactiveForm">
<input class="form-control" formControlName="email" />
</form>

Error

core.es5.js:1084 ERROR Error: Uncaught (in promise): Error: No provider for NgForm!
Error: No provider for NgForm!

@SethDavenport
Copy link
Member

angular-redux/form only supports template driven forms at this time

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