<ui-select></ui-select> 标签在浏览器中抛出错误
The <ui-select></ui-select> tag throws an error in browser
标签在编辑器中无法识别。我已经包含了 angular select 和 bootstrap 的脚本标签。
错误 Error: [$compile:ctreq] Controller "ngModel", required by directive "uiSelectSingle"
告诉您确切的问题所在 - 您需要使用 ng-model
来获取值。例如:
<ui-select ng-model="person.selected" theme="bootstrap">
标签在编辑器中无法识别。我已经包含了 angular select 和 bootstrap 的脚本标签。
错误 Error: [$compile:ctreq] Controller "ngModel", required by directive "uiSelectSingle"
告诉您确切的问题所在 - 您需要使用 ng-model
来获取值。例如:
<ui-select ng-model="person.selected" theme="bootstrap">