-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Some components with numbers in the name don't work with Angle Brackets #17549
Comments
Issue is specifically converting ember-c3 to angle bracket invocation. Working invocation
converted to angle brackets
This generates I've tried some camelcase variations and either get the same error message or |
The issue is in https://github.com/emberjs/ember.js/blob/master/packages/ember-template-compiler/lib/system/dasherize-component-name.ts There are unit tests setup in I think a few tweaks to those regexps should do the trick. |
I'm having a look at this issue. |
PR #17552 |
As reported by @gmartell, if you have a number in a component name, it fails to be found if used with Angle Bracket invocation. It seems like a component
number1-problem
is ok as<Number1-Problem />
but fails as<Number1Problem />
.Minimal reproduction
The text was updated successfully, but these errors were encountered: