Angular Xeditable drop down e-ng-change is not working

前端 未结 2 1925
慢半拍i
慢半拍i 2021-01-28 22:36

I\'m using Angular Xeditable api.I need to change the text field\'s value according to the value of the drop down.But it\'s not working.Could you tell me why ? Thanks.

<

2条回答
  •  走了就别回头了
    2021-01-28 23:06

    I try with your old source code and it's works for me:

    if (selected.length) {
       user.name = selected[0].text;
    }
    

    May be i miss understand your problem.

    http://jsfiddle.net/NfPcH/14573/

提交回复
热议问题