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

Reactive Forms doesn't compile #3556

Open
pmoleri opened this issue Oct 28, 2024 · 0 comments
Open

Reactive Forms doesn't compile #3556

pmoleri opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@pmoleri
Copy link

pmoleri commented Oct 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants