Adds an autocomplete="off" to the input field to stop browsers
from trying to fill in values. When the browser fills in values
for tags it can prevent the typeahead feature from being used
easily.
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<label for="tagLabel">[% l('Tag') %]</label>
<input name="tabLabel" type="text" ng-model="selectedLabel" placeholder="[% l('Enter tag label...') %]"
uib-typeahead="tag for tag in getTags($viewValue)" typeahead-editable="false"
- class="form-control"></input>
+ class="form-control" autocomplete="off"></input>
</div>
<button type="button" class="btn btn-sm btn-default" ng-click="addTag()">[% l('Add Tag') %]</button>
</div>
<label for="tagLabel">[% l('Tag') %]</label>
<input name="tabLabel" type="text" ng-model="selectedLabel" placeholder="[% l('Enter tag label...') %]"
uib-typeahead="tag for tag in getTags($viewValue)"
- class="form-control"></input>
+ class="form-control" autocomplete="off"></input>
</div>
<button type="button" class="btn btn-sm btn-default" ng-click="addTag()">[% l('Add Tag') %]</button>
</div>