forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ivy): support attribute selectors in dynamic component creation (a…
…ngular#31812) This commit fixes a bug where we assumed all dynamically created components would have tag-name selectors, so we passed through the "tag name" to the renderer as the first index of the selector. For components with attribute selectors, the tag name would be "", so the renderer would try to create an element with tag name "" and throw. Now we default to a "div" element the same way that View Engine did. Closes angular#31785 PR Close angular#31812
- Loading branch information
1 parent
2915faa
commit 67153c0
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters