# Ion-list with dynamic form rendering

**URL:** <https://forum.ionicframework.com/t/ion-list-with-dynamic-form-rendering/113816>\
**Category:** ionic-v3\
**Created:** [November 29, 2017, 2:59pm UTC](https://forum.ionicframework.com/t/ion-list-with-dynamic-form-rendering/113816 "2017-11-29T14:59:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwt02180](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jwt02180](https://forum.ionicframework.com/u/jwt02180)\
**Post date:** [November 29, 2017, 2:59pm UTC](https://forum.ionicframework.com/t/ion-list-with-dynamic-form-rendering/113816/1 "2017-11-29T14:59:24Z")

</div>

Hello everyone, I’m hoping I can get some help figuring out how to accomplish my goal here.

The high level concept is to follow [this article](https://toddmotto.com/angular-dynamic-components-forms), and similarly what’s presented in [this angular guide](https://angular.io/guide/dynamic-form), to create a dynamic, reactive, model driven list in ionic. A back end would provide a configuration object to the UI, which then uses FormBuilder to create a form, and some custom components to dynamically render a form on the fly.

I’ve managed to get simplified version of this “working” where I have a custom component taking a configuration property as an input, and dynamically rendering another custom component to make an ion-list. This problem I’m having is that the styles aren’t being appropriately applied because the DOM structure isn’t what ionic is expecting (ion-item isn’t an immediate child of ion-list).

I’ve created a little project on StackBlitz [here](https://stackblitz.com/edit/ionic-dynamic-list-kf8x4w), which demonstrates what I want, and what I’m trying to do. Hopefully someone can offer suggestions or an answer, thanks!

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 10:01pm UTC](https://forum.ionicframework.com/t/ion-list-with-dynamic-form-rendering/113816/2 "2021-07-19T22:01:19Z")

</div>

Closed on July 19, 2021, 10:01pm UTC


