-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pass model
instead of id
to on_form_prefill
#2292
base: master
Are you sure you want to change the base?
Conversation
on_form_prefill I think it is more reasonable to change the second parameter to model
What was the application that motivated you to change it this way? |
|
It looks OK to me if the tests are passing. Do you have any comment on this one @samuelhwilliams? |
I believe you also need to update lines between 1643 and 1644 @kanhebei. |
model
instead of id
to on_form_prefill
Agree @hasansezertasan - we'd need to update the signature of the It would be great if you could explain your use-case just to help us understand why you need this :) |
|
I'm happy to accept this PR in principle, but it is currently incomplete. You'll need to:
|
on_form_prefill
I think it is more reasonable to change the second parameter to model