lundi 15 janvier 2018

Angular PrimeNG Checkbox Model Driven wrong display

I am using PrimeNG with the checkbox in the Model Driven angular(5) style. I used the solution of this issue to make it worked http://ift.tt/2ySaEyv I used

<div *ngFor="let c of list">
<p-checkbox  [value]="c" [label]="c.name"
[formControl]="groupForm.controls['user']">
</p-checkbox>
</div>

I get correctly the infos in my post the issue is on the display, the first issue is the label is displayed below the checkbox and not on it side. The second issue is when the checkbox is checked I get an extra check sign between the checkbox and the label. checkbox view I don't get any error in the console.

Thanks for your time !




Aucun commentaire:

Enregistrer un commentaire