fix(Compiler): fix template binding parsing (*directive="-..."
)
fixes #13800
This commit is contained in:

committed by
Matias Niemelä

parent
1c82b58185
commit
7dc12b93fe
@ -276,7 +276,7 @@ class TemplateParseVisitor implements html.Visitor {
|
||||
templateBindingsSource = attr.value;
|
||||
} else if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX)) {
|
||||
templateBindingsSource = attr.value;
|
||||
prefixToken = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);
|
||||
prefixToken = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length) + ':';
|
||||
}
|
||||
|
||||
const hasTemplateBinding = isPresent(templateBindingsSource);
|
||||
|
Reference in New Issue
Block a user