Skip to content

Commit

Permalink
Merge branch 'develop' into bugfix/342-updated-selectize-version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gooliver2 committed Feb 21, 2019
2 parents 47be56c + 5bd6cc7 commit 5347fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ Always reference the ticket number at the end of the issue description.
### Fixed

- BREAKING! Fixed response in DeletionMixin after `delete` method is called [#334][334]
- Added default `select_multiple` attr for `QuickFiltersSelectMultiple` widget [#340][340]
- Updated Selectize version [#334][334]

[334]: //github.com/sanoma/django-arctic/issues/334
[340]: //github.com/sanoma/django-arctic/issues/340
[342]: //github.com/sanoma/django-arctic/issues/342


Expand Down
4 changes: 4 additions & 0 deletions arctic/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ class QuickFiltersSelectMultiple(
"""
This widget is used to be able to have a more than one active filters
"""
def __init__(self, attrs=None, **kwargs):
attrs = attrs or {}
attrs['select_multiple'] = True
super().__init__(attrs, **kwargs)


class SearchInput(TextInput):
Expand Down

0 comments on commit 5347fc8

Please sign in to comment.