By using [(ngModel)]="topic.id"
we can get it but then default value is not shown in dropdown. Do we have any other option to access selected value?
More of my code is given below:
<select class="form-control input-lg" name="topicId" ngModel>
<option value="" disabled>Choose a state</option>
<option *ngFor="let inquiryTopic of inquiryTopics"
[ngValue]="inquiryTopic.id" >{{inquiryTopic.name}}</option>
</select>