I am trying to figure out how to use a pipe within a reactive form so that the input is forced into a currency format. I have already created my own pipe for this which I h
Without knowing your pipe code, it's likely throwing errors because of where you're constructing that form.
Try using Angular's change detection hooks to set that value after inputs have been resolved:
export class MyComponent implements OnInit {
myForm: FormGroup;
constructor(private builder: FormBuilder) { }
ngOnInit() {
this.myForm = builder.group({
amount: ['', Validators.required]
});
}
}