You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to display the checkboxes horizontally instead of them listing vertically on the page?
Displaying them horizontally would take less space.
Thanks
The text was updated successfully, but these errors were encountered:
Yes there is! But you will have to do some coding to accomplish it.
If I remember correctly, you should be able to subclass multiselectfield.forms.fields.MultiSelectFormField and override the render member function, then use that class in your form.
Like this:
frommultiselectfield.forms.fieldsimportMultiSelectFormFieldclassHorizontalMultiSelectFormField(MultiSelectFormField):
defrender(self):
# Build a custom HTML string here
Is there any way to display the checkboxes horizontally instead of them listing vertically on the page?
Displaying them horizontally would take less space.
Thanks
The text was updated successfully, but these errors were encountered: