Losing context of parent resource when using dependsOn() on a field
#4837
Unanswered
jigar-dhulla
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.
-
Description:
Missing
viaResourceIdandviaResourcewhen Action field is dependent on (dependsOn()) other field.Note: These are present when action fields are loaded for the first time (on clicking action). Snippet below demonstrates this.
Even when form in the Action is submitted, values for these are persisted.
Expectation
viaResourceIdandviaResourceto remain in the request ofdependsOn().Detailed steps to reproduce the issue on a fresh Nova installation:
TestAction::make()->onlyInline(),Typeand notice how the field disappears (because of missingviaResourceId).Beta Was this translation helpful? Give feedback.
All reactions