fix(ivy): set ng-reflect properties for unbound directive inputs (#29973)

We only set ng-reflect properties on directive input bindings.
This PR ensures that we also add ng-reflect properties on unbound inputs for backwards compatibility.

FW-1266 #resolve

PR Close #29973
This commit is contained in:
Olivier Combe
2019-04-18 14:22:32 +02:00
committed by Ben Lesh
parent d9ce8a4ab5
commit 4e13700ad2
4 changed files with 94 additions and 35 deletions

View File

@ -67,7 +67,7 @@ export function setUpAttributes(native: RElement, attrs: TAttributes): number {
(renderer as ProceduralRenderer3).setAttribute(native, attrName, attrVal, namespaceURI) :
native.setAttributeNS(namespaceURI, attrName, attrVal);
} else {
/// attrName is string;
// attrName is string;
const attrName = value as string;
const attrVal = attrs[++i];
// Standard attributes