[attr.formControlName] for radio-group not working


#1

So i’m trying to create a dynamic form with Ionic 2.

I use [attr.formControlName]="hasInputType(['radio'], itemInput) ? itemInput.uuid : null"

but in my HTML with the console I get <ion-list class="list list-ios radio-group" radio-group formcontrolname="input0">

formControlName has been lowercased

I don’t know if it change anythings. But when I inspect others inputs with [formControlName]="itemInput.uuid" (not with an [attr.formControlName] I don’t see anythings like formcontrolname="input1".

If anybody has a solution ! Thank you