Skip to content

Commit

Permalink
Highlight select field with error to match Django style
Browse files Browse the repository at this point in the history
  • Loading branch information
tchatow authored and jpic committed Sep 27, 2019
1 parent 7c0cc7f commit 10affe2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dal_select2/static/autocomplete_light/select2.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ ul li.select2-search {
/* Cancel out django's style */
list-style-type: none;
}

.errors .select2-selection {
/* Highlight select box with error */
border-color: #ba2121;
}

0 comments on commit 10affe2

Please sign in to comment.