Page 1 of 1

P-Tree No value Accessor for form control with path

Posted: 25 Mar 2019, 15:36
by Anthony1
Good morning! I have been trying to get a p-tree incorporated into my reactive form. However, I keep getting an error whenever I try to add "formControlName" to my P-Tree.
"No value accessor for form control with path"

<p-tree
[value]="name"
id="nameFirst"
formControlName="names"
selectionMode="multiple"
[(selection)]="allNames"
(onNodeSelect)="nodeSelect($event)"
>
</p-tree>

I have the formControlName correct, I have matched this to most of the other dropdowns I have made. While the form has no issue with other parts, it just can't work with p-trees apparently. Any ideas??

Re: P-Tree No value Accessor for form control with path

Posted: 11 Sep 2019, 09:38
by lechnow31
Hello,

Did you find any fix for this issue ?

Best regards