Replies: 1 comment 3 replies
-
It's not direct an answer here, but a question that has to do with that. I have a very dynamic form, but created it manually (in Form.init), where fields are created from a database (settings) model and their contents; basically, one model instance creates one field. field.widget.attrs["unicorn:model.lazy"] = fieldname That works, Unicord does it's job - even when the (dynamically loaded) fieldname does not exist as attribute in the Component. But I created an This is a clear "abuse" of Unicorn's API - I just wanted to ask you if you see a problem here, and this could maybe be used as well in django-forms-dynamic - with a custom component that has an What do you think? |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dabapps/django-forms-dynamic looks like it might be useful for dynamically creating forms. It would be nice to see if it's possible to integrate with
Unicorn
.Beta Was this translation helpful? Give feedback.
All reactions