Deeply nested forms

Hi all, you know how Ash supports nested forms? Is there a way to do doubly or triply nested forms? Or is there a different approach to achieve this if this is not natively supported?
Solution:
I think it should be possible, looking at the code, the forms option has another forms field, so you should be able to nest them that way.
GitHub
ash_phoenix/lib/ash_phoenix/form/form.ex at b71d5ebb735f8ba13f72180...
Utilities for integrating Ash and Phoenix. Contribute to ash-project/ash_phoenix development by creating an account on GitHub.
Jump to solution
1 Reply
Solution
barnabasj
barnabasj2mo ago
I think it should be possible, looking at the code, the forms option has another forms field, so you should be able to nest them that way.
GitHub
ash_phoenix/lib/ash_phoenix/form/form.ex at b71d5ebb735f8ba13f72180...
Utilities for integrating Ash and Phoenix. Contribute to ash-project/ash_phoenix development by creating an account on GitHub.

Did you find this page helpful?