I am trying to use an input that i sent by appcomponent to my select component.
I need to use the value in my class. The problem that it hasn't been identified on my class but when i put it in the template i can see it.
For example in this component:
import {Component, Input} from 'angular2/core';
@Component({
selector: 'test',
template: "<h4>test 1 {{test_input}}</h4> <br>"
})
export class TestComponent {
private test_test;
@Input() test_input: string;
}
I need to use test_input for example to modify it.