我正在试着把我的头围绕在ngModelngModelChange上。multi select返回一个选择数组,我希望将这些选择合并到单个字符串中。我似乎无法从多选中获取这些值。mobileChange()函数返回内部未定义的数组,该数组等于选择数。即,如果选择了两个选项,则为“未定义”、“未定义”。 如何获取这些值?<mat-form-field>
<mat-label>Mobile A
let supervisor of displayedsupervisorList" >{{supervisor}}</md-option>这是.ts文件中的方法(displayedsupervisorList是一个有名称的string[] ) console.log("updatesupervisorlist");
this.display