AngularShowcase / angular2-sample-app

Sample application built with Angular 2
MIT License
114 stars 132 forks source link

dropdown issue #15

Open jeevitha8123 opened 7 years ago

jeevitha8123 commented 7 years ago

Hi, i have issue in drop down after selecting any status it should show only select option in a same page please help me to close the issue
once i select an option its showing option values but i need only select option default value.

my code :

jeevitha8123 commented 7 years ago

Hi, i have issue in drop down after selecting any status it should show only select option in a same page please help me to close the issue once i select an option its showing option values but i need only select option default value.

my code :+1: <select id="defaultSelected" class="browser-default" name= "" (change)="bulkActionStatus($event.target.value)"(disabled)="disabled"> <option selected="defaultSelected" [value]="">Select <option *ngFor = "let n of listStockStatus" [value] = "n.id" >{{n.name}}