BelongsTo field using the dependsOn function can set default when creating resource, but not when updating resource #4707
Unanswered
rik-legger
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version: 9.19.0
Nova Version: 4.12.14
PHP Version: 8.1.7
Description:
When trying to update the selection of a BelongsTo field using the dependsOn function it doesn't seem to be updating the default value when requested when updating a resource. When creating the resource it works like expected. In the code example below I show a simplified version of what I'm trying to achieve.
Beta Was this translation helpful? Give feedback.
All reactions