Update parent component property from child component in Angular 2

You need to use 2 way data-binding. @Input() is one way data-binding. to enable 2 way data-binding you need to add an @Output() corresponding to the property, with a “Change” suffix @Input() getSearchStatus: boolean; @Output() getSearchStatusChange = new EventEmitter<boolean>(); when you want to publish the change made to your property to the parent, you need … Read more