We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider this component definition:
var CollapseCpt = function () { this.show = true; this.toggleShow = function () { this.show = !this.show; }; }; CollapseCpt.prototype.attributes = { title: {type: "string", binding: "1-way"}, type: {type: "string", binding: "1-way"}, "body":{type:"template",defaultContent:true} };
and the example usage (notice empty body):
<#collapse title="Evolution of Online and Offline Bookings" type="Chart"> </#collapse>
As of today this results in the following error message:
[error] [Component: #ctrl.body] Invalid component reference
The error is confusing as it doesn't provide any clue on what is actually wrong. But more importantly this scenario shouldn't fail, IMO.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider this component definition:
and the example usage (notice empty body):
As of today this results in the following error message:
The error is confusing as it doesn't provide any clue on what is actually wrong. But more importantly this scenario shouldn't fail, IMO.
The text was updated successfully, but these errors were encountered: