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

DynamicRadioGroupModel inside DynamicFormArrayModel not retaining value when selecting radio on second occurrence

Open vinothsubramanian opened this issue 5 years ago • 0 comments

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:

  1. Have DynamicRadioGroupModel inside DynamicFormArrayModel
  2. Insert new item to array dynamically
  3. Select radio button on first occurrence in the array
  4. Select radio button on second occurrence in the array
  5. 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

vinothsubramanian avatar Mar 07 '19 19:03 vinothsubramanian