angular-dynamic-forms icon indicating copy to clipboard operation
angular-dynamic-forms copied to clipboard

Can we nest checklists inside a checklist?

Open dcbartlett opened this issue 10 years ago • 2 comments

This would be useful for checklists that need "sections" or is there a way to add a "section" to checklists.

dcbartlett avatar Mar 25 '15 00:03 dcbartlett

Not currently. You might be able to simulate it by creating multiple controls with the same model (ngDynForms doesn't prevent you from doing that, by design). But nesting is not actually supported, yet.

danhunsaker avatar Mar 25 '15 03:03 danhunsaker

I was actually able to modify the source a bit for my needs that allowed me to assign multiple checklists to the same parent (using arrays instead of an object for the template. I'll submit a PR and let you look it over and decide what you think.

dcbartlett avatar Mar 25 '15 05:03 dcbartlett