Hi i have a dropdown having values id and value.On the click event i need to use both id and value .now i am passing id only in ngmodel.how can i pass the object in ngmodel..so i can use in ts like object.id,and object.value
please help
this s my dropdown
in ts file i shud get like
onSelectYear(obj: any) {
obj.id=
obj.value=
}
Bryian TanPosted May 26, 2018, 11:36 PM