阅读背景:

在angular-ui类型中选择前面的选项无效

来源:互联网 

Here is the html markup:

这是html标记:

<script type="text/ng-template" id="typeAheadTemplate.html">
    <span bind-html-unsafe="match.model.PROJECT_DESC | typeaheadHighlight:query"></span>
</script>

<div ng-show="commentMain.commentType == 'project'" id="commentProjectOther" 
                       class="btn-group animate-slide-vertical" style="margin-bottom: 7px; margin-left: 7px;">
    <input type="text" ng-model="commentMain.project" placeholder="Select the name of the project" 
                       typeahead-on-select="commentMain.comment.PROJECT_ID = $model.PROJECT_ID || null"
                       typeahead="project for projects in commentMain.getProjects($viewValue)" 
                       typeahead-loading="loadingProjects"
                       typeahead-template-url="typeAheadTemplate.html" class="form-control" />
</div>
<script 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: