我在使用 angularjs 的项目中使用 select2 工具。
在第一行中使用 angularjs 在网格中为这个 select2 分配值时,它没有分配,但是如果我试图在从第二行到下一行的第一行旁边分配,它工作正常。
为什么会这样。?
欢迎对此提出任何建议。
提前致谢。
<td ng-if="configRow.validation.valueType == 'Single Choice'" style="width:26%">
<!-- <input style="width:100%" type="text" ng-model="configRow.Value" ui-select2="selectChoices" ng-blur="addToConfig()"> -->
<div class="print-blank" >
<select ui-select2 ng-model="configRow.Value" data-placeholder="Select One" ng-change="updatedDate($index)">
<option value=""></option>
<option ng-repeat="element in configRow.validation.list track by $index" value="{{element}}" >{{element}}</option>
</select>
</div>
</td>