Default values for BelongsTo relations are shown on index/detail with an empty link #3419
Answered
by
crynobone
sedlatschek
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Jun 2, 2021
Replies: 1 comment
-
Yes, that's the current behavior for default. For such a requirement, you mostly just want a default value on creating. https://crynobone.com/add-field-default-only-on-create-on-laravel-nova/ There a PR merged to add this for next major release. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, that's the current behavior for default. For such a requirement, you mostly just want a default value on creating.
https://crynobone.com/add-field-default-only-on-create-on-laravel-nova/
There a PR merged to add this for next major release.