Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Component input property - setter - more explicit information needed #2881

Closed
@michalboska

Description

@michalboska

I was having problem with Angular not recognizing the bound @Input property. It showed up that the error was only caused by the annotated setter occuring later in the code, than the unannotated getter.

I suggest making this requirement more explicit in https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#parent-to-child-setter because this way it IMHO suggests, that annotating the setter is what's important here, not that the annotated method (getter or setter) must occur first, before the unannotated one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions