Skip to content

Not Able to use Reactive Forms with Redux #35

@niisar

Description

@niisar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions