Replies: 2 comments
-
I believe that such a feature can be implemented. However, with a Btw. what is the ue-case where this is needed? |
Beta Was this translation helpful? Give feedback.
-
My use case is to have a single form to create instances of different Child models of the same model (selected based on a ChoiceField). Thus, the relevant fields change dynamically, and one of the child models has a many-to-one relation, which the others don't have. The rest of the data changing from model to model can be handled by Fields, and thus be hidden dynamically, but not the FormCollection handling the many-to-one relation. |
Beta Was this translation helpful? Give feedback.
-
I am using df-show/df-hide on fields/fieldsets to hide some stuff dynamically, and was wondering if there was a way to hide FormCollections in the same way.
More precisely, I'm using a form collection with siblings to handle a One-To-Many relation, but this is only useful when some other condition on the form is met, and I would like to hide the whole form collection otherwise.
Beta Was this translation helpful? Give feedback.
All reactions