igniteui-angular-samples
igniteui-angular-samples copied to clipboard
Reactive Forms doesn't compile
Description
Reactive Forms sample doesn't compile src/app/how-to/reactive-forms/reactive-forms.component.html
Steps to reproduce
- Go to Reactive Forms validation example: https://www.infragistics.com/products/ignite-ui-angular/angular/components/angular-reactive-form-validation#angular-reactive-form-validation-example
- Open in Stackbliz
- If it doesn't build automatically, download and build
Result
Error: src/app/how-to/reactive-forms/reactive-forms.component.html:84:18
- error NG8001: 'igx-card' is not a known element:
1. If 'igx-card' is an Angular component, then verify that it is part of this module.
2. If 'igx-card' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas'
of this component to suppress this message.
Error: src/app/how-to/reactive-forms/reactive-forms.component.html:66:21 - error NG8001: 'igx-radio' is not a known element:
1. If 'igx-radio' is an Angular component, then verify that it is part of this module.
2. If 'igx-radio' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Expected result
Compiles, runs and works
Consider migrating it to standalone component.