Make sure the ChoiceForm is full height
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -31,7 +31,9 @@ class ChoiceForm(forms.Form):
|
||||
self.fields['selection'].help_text = help_text
|
||||
self.fields['selection'].widget.disabled_choices = disabled_choices
|
||||
self.fields['selection'].widget.attrs.update(
|
||||
{'size': 14, 'class': 'choice_form'}
|
||||
{
|
||||
'class': 'full-height', 'data-height-difference': '450'
|
||||
}
|
||||
)
|
||||
|
||||
selection = forms.MultipleChoiceField(widget=DisableableSelectWidget())
|
||||
|
||||
Reference in New Issue
Block a user