fix(compiler): create literal property bindings for empty *… directives.
Closes #4916
This commit is contained in:
@ -272,6 +272,7 @@ class TemplateParseVisitor implements HtmlAstVisitor {
|
||||
targetMatchableAttrs, targetProps);
|
||||
} else {
|
||||
targetMatchableAttrs.push([dashCaseKey, '']);
|
||||
this._parseLiteralAttr(dashCaseKey, null, attr.sourceInfo, targetProps);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user