timdeschryver/ng-signal-forms

Support for ControlValueAccessor

Closed this issue · 3 comments

Are there any plans to include support for ControlValueAccessor or introduce a similar concept? From my point of view reusable form components are very important in enterprise apps which may include very complex forms.

Hey @mattlocker have you tried using a CVA with Signal Forms?
I was thinking this should just work out of the box because you just bind to a ngModel, which will be read/updated by the CVA.

Oh for sure you are right(silly me), thank you for pointing that out. I'll perform my tests and in the meantime, I close the issue.

Cool, let me know how it works.
And if you want, you can always contribute to this library by providing an example in an existing form, or in a new form.