You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @poulpe38000, thanks so much for your response. I am using Angular 11. When I don't include the selector this is the error I receive when running ng serve:
Hi @poulpe38000 I saw the PR is still pending for merge, is there any walkaround for now? the automatic building in our project is currently blocked by this
sean-perkins
changed the title
[Bug] [Angular] Value Accessor is created without selector specified
bug: Angular Value Accessor is created without selector specified for older versions
Apr 27, 2022
Thanks for this issue. I think the best course of action here, instead of the PR to introduce a legacy flag, is to just assign a selector for value accessor to satisfy older versions of Angular as well as their updated API.
or similar, is extremely unlikely to conflict with any selectors in your applications and we can drop it when we stop supporting the last version of Angular with that constraint.
Versions:
In the stencil.config.ts I specify the following for the valueAccessorConfigs:
When I execute the build process the generated value-accessor.ts file has the following as the first 9 lines:
I need to manually enter the Directive line to be
@Directive({ selector: 'dls-value-accessor' })
for Angular to be able to consume the web components.
The text was updated successfully, but these errors were encountered: