ElemeFE / element-angular

Element for Angular
https://element-angular.faas.ele.me
MIT License
530 stars 121 forks source link

el-select 下拉框在formgroup里面修改值之后,下拉框选项不更新 #122

Closed wmlzjb closed 6 years ago

wmlzjb commented 6 years ago

Issue Type:

Version & Environment:
Angular: 6.0.0 element-angular: 0.7.6

Description: 在form表单中给select绑定formControlName,然后this.form.get('goId').setValue('2'); 下拉框的选项不会更新,但是值是发生了变化,如果在formgroup中给默认值,下拉框是可以默认选中的,只有setvalue是失效的

unix commented 6 years ago

got it.