inputs_for not working when I do manage_relationship in Ash.Changeset.before_action
Hi team,
I would like to ask smth about inputs_for, so when I do manage relatioinship this way
But when I put the manage_relationship in before_action, it doesn't work, e.g.:
It has this error:
How can I make inputs_for work when I need to do manage_relationship in the change function? Thanks so much.
I would like to ask smth about inputs_for, so when I do manage relatioinship this way
change manage_relationship(:beds, type: :create) in the action, inputs_for works.But when I put the manage_relationship in before_action, it doesn't work, e.g.:
It has this error:
How can I make inputs_for work when I need to do manage_relationship in the change function? Thanks so much.
