diff --git a/script/autocomplete.js b/script/autocomplete.js index e755ea8..39c725b 100644 --- a/script/autocomplete.js +++ b/script/autocomplete.js @@ -13,7 +13,8 @@ app.directive('autocomplete', function() { onType: '=onType', onSelect: '=onSelect', autocompleteRequired: '=', - noAutoSort: '=noAutoSort' + noAutoSort: '=noAutoSort', + disableInput: '=' }, controller: ['$scope', function($scope){ // the index of the suggestions that's currently selected @@ -252,8 +253,9 @@ app.directive('autocomplete', function() { tabindex="{{ attrs.tabindex }}"\ id="{{ attrs.inputid }}"\ name="{{ attrs.name }}"\ - ng-required="{{ autocompleteRequired }}" />\ -