ash_admin
ash_admin copied to clipboard
Ash.Unions don't render correctly
Describe the bug
An embedded resource with a field defined as an Array of Unions renders like this in Ash Admin:
To Reproduce
Setup a resource with a field that is an array of Union types.
Expected behavior
Another field containing list of non-union embedded types renders fine.
Presumably it's possible to have this render in some sensible default way despite the fact that each item could be different?
Runtime
- Elixir 1.14.4
- Erlang 25.3.2
- OS mac
- Ash main
- Ash Admin main
Yep! We can do this, just hasn't been implemented yet.