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
Have you considered creating a custom field to render with react-jsonschema-form instead of using the admin view? This is the way https://github.com/tyomo4ka/django-reactive is using.
I actually prefer your app as I need dynamic templating.
It would let you have :
several react-jsonschema-form field per model
user inlined admin (this is what I need myself)
Another advantage would be that you won't need to override the main-change.html and main-add.html template.
I am willing to contribute the code for that and I am wondering if you would accept a PR for that. It could be either a replacement of the current implementation: migration from one implementation to the other would be straightforward I think, so this shouldn't be an issue for existing codebases.
Otherwise I could provide a field implementation as an additional method to have react-jsonschema-form. But it would be more confusing for the users.
The text was updated successfully, but these errors were encountered:
Greetings,
Have you considered creating a custom field to render with react-jsonschema-form instead of using the admin view? This is the way https://github.com/tyomo4ka/django-reactive is using.
I actually prefer your app as I need dynamic templating.
It would let you have :
Another advantage would be that you won't need to override the
main-change.html
andmain-add.html
template.I am willing to contribute the code for that and I am wondering if you would accept a PR for that. It could be either a replacement of the current implementation: migration from one implementation to the other would be straightforward I think, so this shouldn't be an issue for existing codebases.
Otherwise I could provide a field implementation as an additional method to have react-jsonschema-form. But it would be more confusing for the users.
The text was updated successfully, but these errors were encountered: