This repository was archived by the owner on May 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 // Set the default template for this directive
5050 $templateCache . put ( TEMPLATE_URL ,
5151 '<div class="angucomplete-holder" ng-class="{\'angucomplete-dropdown-visible\': showDropdown}">' +
52- ' <input id="{{id}}_value" name={{inputName}} ng-class="{\'angucomplete-input-not-empty\': notEmpty}" ng-model="searchStr" ng-disabled="disableInput" type="{{type }}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" ng-focus="onFocusHandler()" class="{{inputClass}}" ng-focus="resetHideResults()" ng-blur="hideResults($event)" autocapitalize="off" autocorrect="off" autocomplete="off" ng-change="inputChangeHandler(searchStr)"/>' +
52+ ' <input id="{{id}}_value" name={{inputName}} ng-class="{\'angucomplete-input-not-empty\': notEmpty}" ng-model="searchStr" ng-disabled="disableInput" type="{{inputType }}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" ng-focus="onFocusHandler()" class="{{inputClass}}" ng-focus="resetHideResults()" ng-blur="hideResults($event)" autocapitalize="off" autocorrect="off" autocomplete="off" ng-change="inputChangeHandler(searchStr)"/>' +
5353 ' <div id="{{id}}_dropdown" class="angucomplete-dropdown" ng-show="showDropdown">' +
5454 ' <div class="angucomplete-searching" ng-show="searching" ng-bind="textSearching"></div>' +
5555 ' <div class="angucomplete-searching" ng-show="!searching && (!results || results.length == 0)" ng-bind="textNoResults"></div>' +
712712 }
713713 }
714714
715- scope . type = attrs . type ? attrs . type : 'text' ;
715+ scope . inputType = attrs . type ? attrs . type : 'text' ;
716716
717717 // set strings for "Searching..." and "No results"
718718 scope . textSearching = attrs . textSearching ? attrs . textSearching : TEXT_SEARCHING ;
You can’t perform that action at this time.
0 commit comments