next-admin icon indicating copy to clipboard operation
next-admin copied to clipboard

[FEATURE] - Increase model depth

Open kaluxxx opened this issue 1 year ago • 0 comments

Summary

Hello, I would like to display in a Dialog component a model that has more than 3 levels of depth.

Ex: exhibitor.showGuide.address.postalCode or exhibitor.cart.cartItems[1].price

However, the data retrieved from the ClientActionDialogContentProps<T extend ModelName> only contains a maximum of 2 levels of dependencies.

Would it be possible to include a parameter to increase this level of depth?

Thanks in advance!

Basic Example

image

Drawbacks

No response

Unresolved questions

No response

kaluxxx avatar Sep 27 '24 19:09 kaluxxx