I understand this error but i need help finding a solution.
Im making a CMS ui. It has a form.component.html
which uses fields.component.html
one of the fields is a field-set.component.html
which re-imports fields.component.html
I want this recursive use of template to work some how.
note => this set up works in dev. It just cant compile. Also im pretty sure this used to compile before Ivy
Markup structure (base)
<form>
<fields></fields>
</form>
Markup structure (fields)
<div class="fields">
<field-text></field-text>
<field-textarea></field-textarea>
<field-set></field-set> <!-- this has fields again -->
<field-select></field-select>
<field-date></field-date>
</div>
Markup structure (field-set)
<div class="field-set">
<fields [fieldSet]="true"></fields>
</div>
Angular CLI: 13.1.3
Node: 14.16.0
Package Manager: npm 6.14.11
OS: darwin x64
Angular: 13.1.2
... animations, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1301.3
@angular-devkit/build-angular 13.1.3
@angular-devkit/core 13.1.3
@angular-devkit/schematics 13.1.3
@angular/cli 13.1.3
@angular/fire 7.2.0
@schematics/angular 13.1.3
ng-packagr 13.1.3
rxjs 6.6.7
typescript 4.5.4