ngoptions

作者: wimjimmy | 来源:发表于2016-12-20 11:03 被阅读0次
                            <form class="form-inline" role="form">
                                <div ng-repeat="chart in gShowFilterData.filterChartLists" class="form-group">
                                    <div class="radio">
                                        <label>
                                            <input type="checkbox" name="globalfiltertype" ng-checked="chart.selected" ng-click="selectGfilterChartId(chart)">
                                            {{chart.cChartName}}
                                        </label>
                                    </div>
                                    <select ng-model="chart.select"  ng-options="x.code as x.name for x in chart.fields" ng-if="chart.selected">
                                    </select>
                                </div>
                            </form>

相关文章

网友评论

      本文标题:ngoptions

      本文链接:https://www.haomeiwen.com/subject/wxvxvttx.html