UI<select kendo-multi-select k-options="selectOptions" k-ng-model="selectedIds"></select>
控制器
$scope.selectOptions = {
placeholder: "Select products...",
dataTextField://cannot understand what to put in here,
valuePrimitive: true,
autoBind: false,
}
我有一个字符串数组,如下所示;
$scope.arrayOfStrings = ["abc", "def", "ghi","jkl"];
我希望这些字符串作为我的选择。
请具体回答,因为我是角度新手。提前致谢。