ng-dynamic-forms
ng-dynamic-forms copied to clipboard
DynamicRadioGroupModel inside DynamicFormArrayModel not retaining value when selecting radio on second occurrence
I'm submitting a
[X ] Bug / Regression
[ ] Feature Request / Proposal
[X ] Question
I'm using
NG Dynamic Forms Version: `7.1.0`
[ ] Basic UI
[ ] Bootstrap UI
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[ ] Material
[ ] NG Bootstrap
[X ] Prime NG
Description
When we have DynamicRadioGroupModel inside DynamicFormArrayModel the radio button selected-highlight is not retaining.
Steps to reproduce:
- Have DynamicRadioGroupModel inside DynamicFormArrayModel
- Insert new item to array dynamically
- Select radio button on first occurrence in the array
- Select radio button on second occurrence in the array
-
Radio button selected on step 3 loses highlight
Stackblitz url for reproducing the step: Stackblitz
Could you please let me know how we can keep the radio groups mutually exclusive in a form array