I would like to use a in a form to let the user being able to update values among different . I have used the techniqu
There is a way to get the value from different options. check this plunker
component.html
{{type}}
component.ts
this.types = [ 'type1', 'type2', 'type3' ]; this.order = { type: 'type1' }; callType(value){ console.log(value); this.order.type=value; }