Feb 5, 2025
0
Level 1
Nova v4: Cannot access details of a newly created resource when performing inline creation
When creating a new resource using inline creation, the newly created resource does not populate the field in the FormData object, used by dependsOn. 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 dependsOn. This works when a resource is selected from search results, as selecting this populates the FormData object, but the same behaviour is not observed from inline creation. This is also not available in the NovaRequest object. Does anyone know how can I get the ID of the newly created resource when completing an inline creation?
Please or to participate in this conversation.