inputs_for with an array of typed_struct
I have a resource with an attribute, that is a list of typed_structs
Is it possible to use AshPhoenix.Form.add_form in a LiveLiew to add / use inputs_for in the template?
If i try to follow this example https://hexdocs.pm/ash_phoenix/nested-forms.html i get the error
(KeyError) key :type not found in: nil
Any ideas / examples or am I using the wrong approach here?
(i don't want an extra table/resource for schedules)
Thanks in advance!!Solution:Jump to solution
Thanks for your answer! ❤️
Good to know, so i don't run in the wrong direction here.
I'll use an Embedded Resource instead. This should work with inputs_for in the LiveView.
```...
2 Replies
I don't think this is possible right now, sorry
Solution
Thanks for your answer! ❤️
Good to know, so i don't run in the wrong direction here.
I'll use an Embedded Resource instead. This should work with inputs_for in the LiveView.