Stuck on the issue referenced in: Discussion #50 (Row-based layout for FormCollection). Utilizing FieldsetMixin with ModelForm fails to render properly #69
Unanswered
omarcoming
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Bootstrap-5 sets the border of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use Fieldsets with my collection but none of the css attributes I pass get rendered. My problem is most similar to Discussion #50 but the matter was resolved as jwoithe did not need to use Fieldset's features.
EDIT: Sorry please ignore everything below. The solutions below do implement the CSS classes (although I can't seem to figure out how to apply css classes to the entire collection instead of each subcollection). However this is still only if I'm not utililzing FieldsetMixin so that problem still remains.
_I've tried both of these methods in Discussion #43:
As well as the solution found by gumish here:
All to no avail. If I do not inherit from FieldsetMixin, I can get just the fields to render by setting default_renderer in the form or upon instantiating the form but neither setting the renderer in the collection nor upon instantiation of the collection has any effect.
The following renders the form and field but the hide_if doesn't work. (as does setting the default_renderer in CustomerForm)
Setting renderer in CustomerCollection or setting render= when instantiating CustomerCollection in InvoiceCollection fail to pass any of the css classes._
Beta Was this translation helpful? Give feedback.
All reactions