Skip to content

Commit

Permalink
Add drop-down arrow to nationality-autocomplete field
Browse files Browse the repository at this point in the history
  • Loading branch information
C-gyorfi authored and tvararu committed Dec 19, 2019
1 parent dbb98ba commit e009c7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/packs/nationality-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const initNationalityAutocomplete = () => {

accessibleAutocomplete.enhanceSelectElement({
selectElement: nationalitySelect,
name: nationalitySelect.name
name: nationalitySelect.name,
showAllValues: false
});

nationalitySelect.name = "";
});
} catch (err) {
Expand Down
5 changes: 5 additions & 0 deletions app/frontend/styles/_autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@
box-shadow: none;
}
}

.autocomplete__dropdown-arrow-down {
pointer-events: none;
z-index: 0;
}

0 comments on commit e009c7b

Please sign in to comment.