ng-model is not getting changed in ui-select

后端 未结 9 689
太阳男子
太阳男子 2021-01-17 08:45

I\'m trying to achieve something very straightforward:


    {         


        
9条回答
  •  广开言路
    2021-01-17 09:18

    some people here touched the problem but i'll make it clear. for some reason ui-select requires the ng-model to be a nested value within $scope. so ng-model must point to x.y within scope and not x or y.

提交回复
热议问题