I'm not sure if the errors I'm getting:
***ERROR**: Can't bind to 'obj.Name' since it isn't a known property of 'comp'.*
is a result of Angular not allowing this behavior. The intent is simply to bind to @input object properties. Code:
// comp.component.ts
...
@Input() obj: ObjType = {
Name: ''
}
// comp2.html
...
// this HTML is passing the value from comp2.html to comp component
<app-comp [obj.Name]="MyNameIs"></app-comp>
I would expect the "MyNameIs" value to get passed back into the obj.Name property, but I'm getting the above error. Is this something I'm not doing correctly, or simply not something Angular (v5) does?