summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index 7d954f378..0136d7257 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -340,6 +340,8 @@ class Select2BaseField(object):
widget = Select2Multiple
else:
widget = Select2Simple
+ if kwargs.get("style", None):
+ attrs["style"] = kwargs.pop("style")
kwargs['widget'] = widget(
model=self.model, available=self.available, remote=self.remote,
new=new, attrs=attrs