Creating a resource inline does not populate the field in the FormData #6727
Unanswered
tom-m-clarity-growth
asked this question in
Ideas & Feature Requests
Replies: 2 comments 1 reply
-
Hi there, I will look into this. However, note that any bug fixes will only go to Nova 5 releases. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moving to Ideas, Many-to-Many fields don't implement the Dependent Field traits and mixin and are currently under unsupported fields. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Versions
Description
When creating a new resource using inline creation, the newly created resource does not populate the field in the FormData object, used by the dependsOn method. I have a Number field that is conditionally revealed and it's minimum and maximum value is dependant on the newly created resource. To achieve this the show and rules are applied to the Number field using the dependsOn method. This works when a resource is selected from a relatableQuery result, as selecting this populates the FormData object, but the same behaviour is not observed from inline creation. How can I get the ID of the newly created resource when completing an inline creation?
Detailed steps to reproduce the issue on a fresh Nova installation
Creation
Method
Issue
If simply searching and selecting an existing resource, the Quantity field shows as expected. You will notice that the pivot field does not show if creating a resource inline. However if you then select the field and reselect the newly created resource, it will show.
Beta Was this translation helpful? Give feedback.
All reactions