Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/429.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 前方有角度。如何禁用少数行并不允许选择这些字段_Javascript_Angularjs_Angular Ui_Angular Ui Bootstrap_Angular Ui Typeahead - Fatal编程技术网

Javascript 前方有角度。如何禁用少数行并不允许选择这些字段

Javascript 前方有角度。如何禁用少数行并不允许选择这些字段,javascript,angularjs,angular-ui,angular-ui-bootstrap,angular-ui-typeahead,Javascript,Angularjs,Angular Ui,Angular Ui Bootstrap,Angular Ui Typeahead,在由Angular UI构建的普通Typeahead中 <input type="text" ng-model="asyncSelected" placeholder="Locations loaded via $http" typeahead="address for address in getLocation($viewValue)" typeahead-loading="loadingLocations" class="form-control"> 如何禁用某些行而不允

在由Angular UI构建的普通Typeahead中

<input type="text" ng-model="asyncSelected" placeholder="Locations loaded via $http" typeahead="address for address in getLocation($viewValue)" typeahead-loading="loadingLocations" class="form-control">

如何禁用某些行而不允许选择这些字段

比如说。就像选择2个禁用的选项一样