igniteui-angular-samples icon indicating copy to clipboard operation
igniteui-angular-samples copied to clipboard

Reactive Forms doesn't compile

Open pmoleri opened this issue 1 year ago • 0 comments

Description

Reactive Forms sample doesn't compile src/app/how-to/reactive-forms/reactive-forms.component.html

Steps to reproduce

  1. 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
  2. Open in Stackbliz
  3. 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.

pmoleri avatar Oct 28 '24 18:10 pmoleri