Skip to content

Commit

Permalink
feature/character-list & feature/comic-list — Disabled autocomplete i…
Browse files Browse the repository at this point in the history
…n search field.
  • Loading branch information
jeandat committed Jul 22, 2016
1 parent 79f6f77 commit 2b31dde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/character/character.factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
function findByName(prefix, offset) {
var criteria = {};
prefix && (criteria.nameStartsWith = prefix);
console.log('prefix:', prefix);
console.log('offset:', offset);
offset && (criteria.offset = offset);
return characters.getList(criteria).then(utils.cacheThumbnails);
}
Expand Down
4 changes: 2 additions & 2 deletions app/character/list/character-list.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ion-view.characters(view-title='Characters')
ion-content
.bar.item-input-inset.characters__search-bar
form.characters__form(name='crtSearchForm' novalidate ng-submit='vm.search()' autocomplete="off")
form.characters__form(name='crtSearchForm' novalidate ng-submit='vm.search()')
label.item-input-wrapper
i.icon.ion-ios-search.placeholder-icon
input(type='search' placeholder='Name starts with…' name='name' ng-model='vm.filter'
spellcheck="false")
spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="off")
.list
.card.characters-card(ng-repeat="character in vm.characters track by character.id")
.item.item-image(ui-sref='app.characterDetailInModal({character:character})')
Expand Down
4 changes: 2 additions & 2 deletions app/comic/list/comic-list.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ion-view.comics(view-title='Comics')
ion-content
.bar.item-input-inset.comics__search-bar
form.comics__form(name='cmSearchForm' novalidate ng-submit='vm.search()' autocomplete="off")
form.comics__form(name='cmSearchForm' novalidate ng-submit='vm.search()')
label.item-input-wrapper
i.icon.ion-ios-search.placeholder-icon
input(type='search' placeholder='Title starts with…' name='name' ng-model='vm.filter'
spellcheck="false")
spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="off")
.list
.card.comics-card(ng-repeat="comic in vm.comics track by comic.id")
.item.item-image(ui-sref='app.comicDetailInModal({comic:comic})')
Expand Down

0 comments on commit 2b31dde

Please sign in to comment.