Custom Component Within form Field

1 Answer 503 Views
FormField Forms MultiColumnComboBox
Henintsoa
Top achievements
Rank 1
Iron
Henintsoa asked on 10 May 2023, 12:44 PM
Hello,
I use Kendo UI Angular,
I have a kendomulticombobox in a form, I use this combobox in several forms, and to avoid copying and pasting, I thought of setting up a separate component for that, and just call it each time I need.
It's to say that the form has a formgroup, and that this formgroup has several formcontrols, that I get when I submit the form.
So when I integrate my custom component, I get an error `ERROR Error: No value accessor for form control with name:` and yet it's the same formcontrol that I use before.

Has anyone experienced this kind of problem? Or do you have any solutions please? Thanks

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 15 May 2023, 09:20 AM

Hi Henintosa,

Please check the answer here:

https://www.telerik.com/forums/custom-component-within-form-field#5657824

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
FormField Forms MultiColumnComboBox
Asked by
Henintsoa
Top achievements
Rank 1
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or