Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple fields per model or inlined form handling #9

Open
cirotix opened this issue Sep 2, 2019 · 0 comments
Open

Multiple fields per model or inlined form handling #9

cirotix opened this issue Sep 2, 2019 · 0 comments

Comments

@cirotix
Copy link
Contributor

cirotix commented Sep 2, 2019

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 :

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant