Angular reactive forms with standalone components #6037
kentyunge
started this conversation in
Stencil Testing
Replies: 1 comment
-
@kentyunge thanks for raising the issue. I unfortunately can't speak much about Angular but whatever we can do to improve the Angular Output Target to improve this workflow is worth exploring. If you have any ideas for enhancements, please keep us posted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our design system has a handful of custom form elements that utilize
valueAccessorConfigs
instencil.config
. This works fine when exporting withdist
and older versions of Angular. However, as we attempt to support standalone components in the latest Angular versions, the generated accessors don't appear to work by default. I was able to get it to work by exporting each accessor individually, however, the consuming angular application then needs to import the component (I.E.ds-input
) along with the correct corresponding value accessor (I.E.text-value-accessor
ornumber-value-accessor
, etc.). Is there a better way to configure this? This method is quite cumbersome for the end user.example
public-api.ts
Beta Was this translation helpful? Give feedback.
All reactions