I learn angular2 with it's material design. I use md-select module for material and have code
<md-select>
<md-option value="1">1</md-option>
<md-option value="2">2</md-option>
<md-option value="3">3</md-option>
<md-option value="4">4</md-option>
</md-select>
I use this documetnation
您缺少“值”周围的括号,它应该是:
...<md-option [value]="1">1</md-option>...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.