- Notifications
You must be signed in to change notification settings - Fork26.7k
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)[ ] Bug report [X ] Feature request[ ] Documentation issue or request[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#questionCurrent behavior
I have HTML templates which is loaded from database. It has Form Controls, which I need dynamically render.
Currently in Angular 4.0 it is working fine, but we are not able to update to Angular 5.0 since the feature is not available
Expected behavior
I like to have the JIT Complier supported with AOT build. I am open to other option of displaying the controls.
Minimal reproduction of the problem with instructions
For bug reports please provide theSTEPS TO REPRODUCE and if possible aMINIMAL DEMO of the problem via
This is working example with uses the compiler to build.
The top template has the First Name and Last Name.
This container is loaded dynamically with Controls Address, City, Radio options.
http://plnkr.co/edit/rELaWPJ2cDJyCB55deTF?p=preview
For this to work in AOT build I change the Complier to JIT Complier
What is the motivation / use case for changing the behavior?
All our use case are dynamically generated and it comes from Database. All validation are dynamically configured. Love to have the feature back.
Environment
Angular version: Working in Version 4.0.0, not working in Angular 5.0.0Browser:- [X ] Chrome (desktop) version XX- [ ] Chrome (Android) version XX- [ ] Chrome (iOS) version XX- [ ] Firefox version XX- [ ] Safari (desktop) version XX- [ ] Safari (iOS) version XX- [ ] IE version XX- [ ] Edge version XX For Tooling issues:- Node version: XX - Platform: Others: