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
Cannot use input component with component helper #13119
Comments
@stevesims this is correct. Creating a closure component with Going to close this for now as it is not a bug, but we can re-open and continue discussion. |
the implication therefore is that the not being able to use a standard (inbuilt) component with the component helper seems like a rather odd and arbitrary restriction |
I'm both offering this as a helpful workaround, and subtly suggesting that it's a drawback of using Ember. It would be fantastic if it "just worked" :) |
Trying to use the
input
component with the component helper, like as this:passedComponent=(component 'input' type="number" value=myValue)
will result in an assertion failure like this:
Uncaught Error: Assertion Failed: You cannot use 'input' as a component name. Component names must contain a hyphen
The text was updated successfully, but these errors were encountered: