New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Angular Web Components Accessing formControlName #19326
Comments
Try adding the |
Thanks for the issue. I noticed you have |
I have added In this case we are just using index.html as if it were another site completely, to test the web components. I also removed Hope that helps. |
Thanks for the issue. Is this still an issue with the latest version of Ionic Framework? If, so can you please try to reproduce this inside of an Ionic Framework starter application? I noticed that your original examples are not correctly installing Ionic Framework, which may be the cause of the issue. |
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Bug Report
Ionic version:
[x] 4.9.0
Current behavior:
Possibly related to #6938.
When using Angular Webcomponents with Ionic core I cannot use
formControlName
onion-input
. It will only work with a regularinput
element.Error: No value accessor for form control with name: 'displayName'
Expected behavior:
Pass the attributes forward (if possible) to the underlying
input
element that is produced within the slot ofion-input
.Steps to reproduce:
Use stackblitz as a good example.
Related code:
Working example
https://stackblitz.com/edit/ionic-core-angular-webcomponent-working
Not working
https://stackblitz.com/edit/ionic-core-angular-webcomponent-not-working
Ionic info:
The text was updated successfully, but these errors were encountered: